Class SecretExpiryRule
A rule that helps enforce the expiration of a secret's contents.
Inherited Members
Namespace: Oci.VaultService.Models
Assembly: OCI.DotNetSDK.Vault.dll
Syntax
public class SecretExpiryRule : SecretRule
Properties
IsSecretContentRetrievalBlockedOnExpiry
Declaration
[JsonProperty(PropertyName = "isSecretContentRetrievalBlockedOnExpiry")]
public bool? IsSecretContentRetrievalBlockedOnExpiry { get; set; }
Property Value
Type | Description |
---|---|
bool? | A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content. |
SecretVersionExpiryInterval
Declaration
[JsonProperty(PropertyName = "secretVersionExpiryInterval")]
public string SecretVersionExpiryInterval { get; set; }
Property Value
Type | Description |
---|---|
string | A property indicating how long the secret contents will be considered valid, expressed in
ISO 8601 format. The secret needs to be
updated when the secret content expires.
The timer resets after you update the secret contents.
The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported.
For example, pass |
TimeOfAbsoluteExpiry
Declaration
[JsonProperty(PropertyName = "timeOfAbsoluteExpiry")]
public DateTime? TimeOfAbsoluteExpiry { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | An optional property indicating the absolute time when this secret will expire, expressed in RFC 3339 timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: 2019-04-03T21:10:29.600Z |