KeyProperties interface
An interface representing the Properties of KeyVaultKey
Properties
| attestation | The key attestation, if available and requested. |
| created |
Creation time in UTC. NOTE: This property will not be serialized. It can only be populated by the server. |
| enabled | Determines whether the object is enabled. |
| expires |
Expiry date in UTC. |
| exportable | Indicates whether the private key can be exported. |
| hsm |
The underlying HSM Platform. NOTE: This property will not be serialized. It can only be populated by the server. |
| id | Key identifier. |
| managed | True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate, then managed will be true. NOTE: This property will not be serialized. It can only be populated by the server. |
| name | The name of the key. |
| not |
Not before date in UTC. |
| recoverable |
The retention dates of the softDelete data.
The value should be |
| recovery |
Reflects the deletion recovery level currently in effect for keys in the current vault. If it contains 'Purgeable' the key can be permanently deleted by a privileged user; otherwise, only the system can purge the key, at the end of the retention interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', 'Recoverable+ProtectedSubscription' NOTE: This property will not be serialized. It can only be populated by the server. |
| release |
A KeyReleasePolicy object specifying the rules under which the key can be exported. |
| tags | Application specific metadata in the form of key-value pairs. |
| updated |
Last updated time in UTC. NOTE: This property will not be serialized. It can only be populated by the server. |
| vault |
The vault URI. |
| version | The version of the key. May be undefined. |
Property Details
attestation
The key attestation, if available and requested.
attestation?: KeyAttestation
Property Value
createdOn
Creation time in UTC. NOTE: This property will not be serialized. It can only be populated by the server.
createdOn?: Date
Property Value
Date
enabled
Determines whether the object is enabled.
enabled?: boolean
Property Value
boolean
expiresOn
Expiry date in UTC.
expiresOn?: Date
Property Value
Date
exportable
Indicates whether the private key can be exported.
exportable?: boolean
Property Value
boolean
hsmPlatform
The underlying HSM Platform. NOTE: This property will not be serialized. It can only be populated by the server.
hsmPlatform?: string
Property Value
string
id
Key identifier.
id?: string
Property Value
string
managed
True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate, then managed will be true. NOTE: This property will not be serialized. It can only be populated by the server.
managed?: boolean
Property Value
boolean
name
The name of the key.
name: string
Property Value
string
notBefore
Not before date in UTC.
notBefore?: Date
Property Value
Date
recoverableDays
The retention dates of the softDelete data.
The value should be >=7 and <=90 when softDelete enabled.
NOTE: This property will not be serialized. It can only be populated by the server.
recoverableDays?: number
Property Value
number
recoveryLevel
Reflects the deletion recovery level currently in effect for keys in the current vault. If it contains 'Purgeable' the key can be permanently deleted by a privileged user; otherwise, only the system can purge the key, at the end of the retention interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', 'Recoverable+ProtectedSubscription' NOTE: This property will not be serialized. It can only be populated by the server.
recoveryLevel?: string
Property Value
string
releasePolicy
A KeyReleasePolicy object specifying the rules under which the key can be exported.
releasePolicy?: KeyReleasePolicy
Property Value
tags
Application specific metadata in the form of key-value pairs.
tags?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}
updatedOn
Last updated time in UTC. NOTE: This property will not be serialized. It can only be populated by the server.
updatedOn?: Date
Property Value
Date
vaultUrl
The vault URI.
vaultUrl: string
Property Value
string
version
The version of the key. May be undefined.
version?: string
Property Value
string