File: //snap/google-cloud-cli/396/help/man/man1/gcloud_secrets.1
.TH "GCLOUD_SECRETS" 1
.SH "NAME"
.HP
gcloud secrets \- manage secrets on Google Cloud
.SH "SYNOPSIS"
.HP
\f5gcloud secrets\fR \fIGROUP\fR | \fICOMMAND\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Google Secret Manager allows users to store and retrieve secrets such as API
keys, certificates, passwords on Google Cloud. Google Secret Manager is
integrated with Cloud IAM and Cloud Audit Logging so users can manage
permissions on individual secrets and monitor how these are used.
To learn more about Google Secret Manager, visit:
.RS 2m
https://cloud.google.com/secret\-manager/
.RE
To read API and usage documentation, visit:
.RS 2m
https://cloud.google.com/secret\-manager/docs/
.RE
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-help.
Run \fB$ gcloud help\fR for details.
.SH "GROUPS"
\f5\fIGROUP\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBlocations\fR
Manage locations of users' secrets.
.TP 2m
\fBreplication\fR
Manage secret replication.
.TP 2m
\fBversions\fR
Manage secret versions.
.RE
.sp
.SH "COMMANDS"
\f5\fICOMMAND\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBadd\-iam\-policy\-binding\fR
Add IAM policy binding to a secret.
.TP 2m
\fBcreate\fR
Create a new secret.
.TP 2m
\fBdelete\fR
Delete a secret.
.TP 2m
\fBdescribe\fR
Describe a secret's metadata.
.TP 2m
\fBget\-iam\-policy\fR
Get the IAM policy for the secret.
.TP 2m
\fBlist\fR
List all secret names.
.TP 2m
\fBremove\-iam\-policy\-binding\fR
Remove IAM policy binding for a secret.
.TP 2m
\fBset\-iam\-policy\fR
Set the IAM policy binding for a secret.
.TP 2m
\fBupdate\fR
Update a secret's metadata.
.RE
.sp
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha secrets
.RE
.RS 2m
$ gcloud beta secrets
.RE