모든 Secret Manager 코드 샘플

Access secret version

Gets the version of a secret.

View in documentation

Add secret version

Adds a new version of the secret.

View in documentation

View in documentation

Destroy secret version

Deletes one of the versions of a secret.

View in documentation

Disable secret version

Makes a specific version of a secret inaccessible.

View in documentation

Enable secret version

Makes a specific version of a secret accessible.

View in documentation

Get secret version

Gets a secret's version metadata.

View in documentation

IAM grant access

Sets roles/secretmanager.secretAccessor policy.

View in documentation

IAM revoke access

Revokes roles/secretmanager.secretAccessor policy.

View in documentation

List secret versions

Lists all versions of a secret.

View in documentation

View in documentation

View in documentation