Share via


Secret Class

A secret.

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

Constructor

Secret(*, location: str | None = None, tags: Dict[str, str] | None = None, value: str | None = None, **kwargs)

Parameters

Name Description
location
Required
str

The location of the resource.

tags
Required

A set of tags. The tags of the resource.

value
Required
str

The value of the secret for secret creation.

Keyword-Only Parameters

Name Description
location
Default value: None
tags
Default value: None
value
Default value: None

Variables

Name Description
id
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

provisioning_state
str

The provisioning status of the resource.

unique_identifier
str

The unique immutable identifier of a resource (Guid).