v7

latestSwagger 2.0raw.githubusercontent.com2022-12-067889207.3 KB
Secrets

Updates the attributes associated with a specified secret in a given key vault.

The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.

patch/secrets/{secret-name}/{secret-version}

Path parameters

secret-namestring required

The name of the secret.

secret-versionstring required

The version of the secret.

Query parameters

api-versionstring required

Client API version.

Request body

contentTypestring

Type of the secret value such as a password.

tagsobject

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

Response

The updated secret.

valuestring

The secret value.

idstring

The secret id.

contentTypestring

The content type of the secret.

tagsobject

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

kidstring

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

managedboolean

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