SecretBundle Class

A secret consisting of a value, id and its attributes.

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

Inheritance
SecretBundle

Constructor

SecretBundle(*, value: Optional[str] = None, id: Optional[str] = None, content_type: Optional[str] = None, attributes=None, tags=None, **kwargs)

Parameters

value
str
Required

The secret value.

id
str
Required

The secret id.

content_type
str
Required

The content type of the secret.

attributes
SecretAttributes
Required

The secret management attributes.

tags
dict[str, str]
Required

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

Variables

kid
str

If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV certificate.

managed
bool

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