Key Rotation Options (KeyRotationOptions)
Licensing
-
Licensee:
string
The licensee value received upon purchase of a license. -
LicenseKey:
string
The license key received upon purchase of a license.
Key Rotation Settings
-
CheckInterval:
int
Specifies the interval (in seconds) at which the key rotation check logic runs. Defaults to 7,200 seconds (2 hours). -
EnableSigningKeyRotation:
boolSpecifies if KeyRotation should be responsible for managing signing keys. Defaults to true. -
SigningKeyPublishTime:
TimeSpan
The time before a signing key becomes active, during which it is visible in the JWK discovery document but not yet used to sign tokens. Defaults to 7 days. -
SigningKeyLifetime:
TimeSpan
The period during which a signing key is actively used to sign tokens. Defaults to 90 days. This setting applies only to newly generated keys—once created, a key's lifetime is fixed. -
SigningKeyRetirementTime:
TimeSpan
The period after a signing key is no longer active but remains visible in the JWK discovery document to validate tokens issued before its expiration. Defaults to 7 days.
Key Generation Settings
-
SigningKeyType:
SupportedKeyTypes
Specifies the type of signing key to generate when a new key is needed. Defaults toSupportedKeyTypes.RSA. Allowed types are SupportedKeyTypes.Rsa or SupportedKeyTypes.Ecdsa. -
AesKeySize:
intThe size of the AES key to be generated. Defaults to 256 bits. -
RsaKeySize:
int
The size of the RSA key to be generated. Defaults to 2048 bits. -
EcCurveType:
EcCurveType
Specifies the curve type used for generating ECDSA keys. Available options are'Ps256','Ps384', and'Ps512'. Defaults to'Ps256'.