gcloud beta secrets

NAME
gcloud beta secrets - manage secrets on Google Cloud
SYNOPSIS
gcloud beta secretsGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Google Secret Manager allows users to store and retrievesecrets such as API keys, certificates, passwords on Google Cloud. Google SecretManager is integrated with Cloud IAM and Cloud Audit Logging so users can managepermissions on individual secrets and monitor how these are used.

To learn more about Google Secret Manager, visit:

https://cloud.google.com/secret-manager/

To read API and usage documentation, visit:

https://cloud.google.com/secret-manager/docs/
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
locations
(BETA) Manage locations of users' secrets.
replication
(BETA) Manage secret replication.
versions
(BETA) Manage secret versions.
COMMANDS
COMMAND is one of the following:
add-iam-policy-binding
(BETA) Add IAM policy binding to a secret resource.
create
(BETA) Create a new secret.
delete
(BETA) Delete a secret.
describe
(BETA) Describe a secret's metadata.
get-iam-policy
(BETA) Get the IAM policy of a secret.
list
(BETA) List all secret names.
remove-iam-policy-binding
(BETA) Remove IAM policy binding of a secret resource.
set-iam-policy
(BETA) Set the IAM policy for a secret.
update
(BETA) Update a secret's metadata.
NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudsecrets
gcloudalphasecrets

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-22 UTC.