SecretProperties Class
A secret's ID and attributes.
- Inheritance
-
builtins.objectSecretProperties
Constructor
SecretProperties(*args: Any, **kwargs: Any)
Attributes
content_type
An arbitrary string indicating the type of the secret.
Returns
Type | Description |
---|---|
str,
|
The content type of the secret. |
created_on
When the secret was created, in UTC.
Returns
Type | Description |
---|---|
When the secret was created, in UTC. |
enabled
Whether the secret is enabled for use.
Returns
Type | Description |
---|---|
bool,
|
True if the secret is enabled for use; False otherwise. |
expires_on
When the secret expires, in UTC.
Returns
Type | Description |
---|---|
When the secret expires, in UTC. |
id
key_id
If this secret backs a certificate, this property is the identifier of the corresponding key.
Returns
Type | Description |
---|---|
str,
|
The ID of the key backing the certificate that's backed by this secret. If the secret isn't backing a certificate, this is None. |
managed
Whether the secret's lifetime is managed by Key Vault. If the secret backs a certificate, this will be true.
Returns
Type | Description |
---|---|
bool,
|
True if the secret's lifetime is managed by Key Vault; False otherwise. |
name
not_before
The time before which the secret cannot be used, in UTC.
Returns
Type | Description |
---|---|
The time before which the secret cannot be used, in UTC. |
recoverable_days
The number of days the key is retained before being deleted from a soft-delete enabled Key Vault.
Returns
Type | Description |
---|---|
int,
|
The number of days the key is retained before being deleted from a soft-delete enabled Key Vault. |
recovery_level
The vault's deletion recovery level for secrets.
Returns
Type | Description |
---|---|
str,
|
The vault's deletion recovery level for secrets. |
tags
Application specific metadata in the form of key-value pairs.
Returns
Type | Description |
---|---|
dict,
|
A dictionary of tags attached to this secret. |
updated_on
When the secret was last updated, in UTC.
Returns
Type | Description |
---|---|
When the secret was last updated, in UTC. |
vault_url
URL of the vault containing the secret.
Returns
Type | Description |
---|---|
str,
|
URL of the vault containing the secret. |
version
Azure SDK for Python
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기