gcloud beta secrets versions

NAME
gcloud beta secrets versions - manage secret versions
SYNOPSIS
gcloud beta secrets versionsCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Manage secret versions on Google Cloud.
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
access
(BETA) Access a secret version's data.
add
(BETA) Create a new version of an existing secret.
describe
(BETA) Describe metadata about the secret version.
destroy
(BETA) Destroy a secret version's metadata and secret data.
disable
(BETA) Disable the version of the provided secret.
enable
(BETA) Enable the version of the provided secret.
list
(BETA) List all versions for a secret.
NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudsecretsversions
gcloudalphasecretsversions

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 2026-01-06 UTC.