1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Aug 31 09:34:57 UTC 2022

This commit is contained in:
Automated 2022-08-31 09:34:57 +00:00
parent 978ed239f6
commit 6749f65ca2
Failed to extract signature
159 changed files with 2919 additions and 561 deletions

View file

@ -3,7 +3,7 @@ NAME
SYNOPSIS
gcloud beta secrets versions access (VERSION : --secret=SECRET)
[GCLOUD_WIDE_FLAG ...]
[--out-file=OUT-FILE-PATH] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Access the data for the specified secret version.
@ -14,7 +14,14 @@ EXAMPLES
$ gcloud beta secrets versions access 123 --secret=my-secret
Note: The output will be formatted as UTF-8 which can corrupt binary
secrets. To get the raw bytes, have Cloud SDK print the response as
secrets.
To write raw bytes to a file use --out-file flag:
$ gcloud beta secrets versions access 123 --secret=my-secret \
--out-file=/tmp/secret
To get the raw bytes, have Google Cloud CLI print the response as
base64-encoded and decode:
$ gcloud beta secrets versions access 123 --secret=my-secret \
@ -47,6 +54,10 @@ POSITIONAL ARGUMENTS
specified name;
▸ provide the argument --secret on the command line.
FLAGS
--out-file=OUT-FILE-PATH
File path to which secret data is written.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,