Access a secret's version using the secret's ID. Access sensitive data in a
secret's version specified by the region
, secret_id
and revision
parameters.
The request AccessSecretVersionRequest
A Promise of AccessSecretVersionResponse
Access a secret's version using the secret's name and path. Access
sensitive data in a secret's version specified by the region
,
secret_name
, secret_path
and revision
parameters.
The request AccessSecretVersionByPathRequest
A Promise of AccessSecretVersionResponse
Allow a product to use the secret.
The request AddSecretOwnerRequest
Browse secrets. Retrieve the list of secrets and folders for the given
prefix. You must specify either the organization_id
or the project_id
and the region
.
The request BrowseSecretsRequest
A Promise of BrowseSecretsResponse
Create a secret. Create a secret in a given region specified by the
region
parameter.
The request CreateSecretRequest
A Promise of Secret
Create a version. Create a version of a given secret specified by the
region
and secret_id
parameters.
The request CreateSecretVersionRequest
A Promise of SecretVersion
Delete a secret. Delete a given secret specified by the region
and
secret_id
parameters.
The request DeleteSecretRequest
Delete a version. Delete a secret's version and the sensitive data contained in it. Deleting a version is permanent and cannot be undone.
The request DeleteSecretVersionRequest
Disable a version. Make a specific version inaccessible. You must specify
the region
, secret_id
and revision
parameters.
The request DisableSecretVersionRequest
A Promise of SecretVersion
Enable a version. Make a specific version accessible. You must specify the
region
, secret_id
and revision
parameters.
The request EnableSecretVersionRequest
A Promise of SecretVersion
Get metadata using the secret's ID. Retrieve the metadata of a secret
specified by the region
and secret_id
parameters.
The request GetSecretRequest
A Promise of Secret
Get metadata of a secret's version using the secret's ID. Retrieve the
metadata of a secret's given version specified by the region
, secret_id
and revision
parameters.
The request GetSecretVersionRequest
A Promise of SecretVersion
List secret types. List all secret types created within a given Project.
The request ListSecretTypesRequest
A Promise of ListSecretTypesResponse
List versions of a secret using the secret's ID. Retrieve the list of a
given secret's versions specified by the secret_id
and region
parameters.
The request ListSecretVersionsRequest
A Promise of ListSecretVersionsResponse
List secrets. Retrieve the list of secrets created within an Organization
and/or Project. You must specify either the organization_id
or the
project_id
and the region
.
The request ListSecretsRequest
A Promise of ListSecretsResponse
List tags. List all tags associated with secrets within a given Project.
The request ListTagsRequest
A Promise of ListTagsResponse
Enable secret protection. Enable secret protection for a given secret
specified by the secret_id
parameter. Enabling secret protection means
that your secret can be read and modified, but it cannot be deleted.
The request ProtectSecretRequest
A Promise of Secret
Disable secret protection. Disable secret protection for a given secret
specified by the secret_id
parameter. Disabling secret protection means
that your secret can be read, modified and deleted.
The request UnprotectSecretRequest
A Promise of Secret
Update metadata of a secret. Edit a secret's metadata such as name, tag(s),
description and ephemeral policy. The secret to update is specified by the
secret_id
and region
parameters.
The request UpdateSecretRequest
A Promise of Secret
Update metadata of a version. Edit the metadata of a secret's given
version, specified by the region
, secret_id
and revision
parameters.
The request UpdateSecretVersionRequest
A Promise of SecretVersion
Secret Manager API.
This API allows you to manage your Secret Manager services, for storing, accessing and sharing sensitive data such as passwords, API keys and certificates.