SecretItem Class

The secret item containing secret metadata.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
SecretItem

Constructor

SecretItem(*, id: str = None, attributes=None, tags=None, content_type: str = None, **kwargs) -> None

Parameters

id
str
Required

Secret identifier.

attributes
SecretAttributes
Required

The secret management attributes.

tags
dict[str, str]
Required

Application specific metadata in the form of key-value pairs.

content_type
str
Required

Type of the secret value such as a password.

Variables

managed
bool

True if the secret's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.