SecretProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SecretProperties is the resource containing all the properties of the secret except its value.
public class SecretProperties
type SecretProperties = class
Public Class SecretProperties
- Inheritance
-
SecretProperties
Constructors
SecretProperties(String) |
Initializes a new instance of the SecretProperties class. |
SecretProperties(Uri) |
Initializes a new instance of the SecretProperties class. |
Properties
ContentType |
Gets or sets the content type of the secret value such as "text/plain" for a password. |
CreatedOn |
Gets a DateTimeOffset indicating when the secret was created. |
Enabled |
Gets or sets a value indicating whether the secret is enabled and useable. |
ExpiresOn |
Gets or sets a DateTimeOffset indicating when the secret will expire and cannot be used. |
Id |
Gets the secret identifier. |
KeyId |
Gets the key identifier of a key backing a Key Vault certificate if this secret is backing a Key Vault certificate. |
Managed |
Gets a value indicating whether the secret's lifetime is managed by Key Vault. If this secret is backing a Key Vault certificate, the value will be true. |
Name |
Gets the name of the secret. |
NotBefore |
Gets or sets a DateTimeOffset indicating when the secret will be valid and can be used. |
RecoverableDays |
Gets the number of days a secret is retained before being deleted for a soft delete-enabled Key Vault. |
RecoveryLevel |
Gets the recovery level currently in effect for secrets in the Key Vault.
If |
Tags |
Gets a dictionary of tags with specific metadata about the secret. |
UpdatedOn |
Gets a DateTimeOffset indicating when the secret was updated. |
VaultUri |
Gets the Key Vault base Uri. |
Version |
Gets the version of the secret. |