1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-19 07:15:23 +00:00

gcloud: Tue Mar 1 21:43:54 UTC 2022

This commit is contained in:
Automated 2022-03-01 21:43:54 +00:00
parent c1c3b75313
commit 21878eea72
1018 changed files with 4838 additions and 3409 deletions

View file

@ -20,9 +20,9 @@ EXAMPLES
resource path "projects/foo/attestors/bar", run:
$ gcloud alpha container binauthz attestations create \
--project=my_proj \
--artifact-url='gcr.io/example-project/example-image@sha256:abcd' \
--attestor=projects/foo/attestors/bar \
--project=my_proj \
--artifact-url='gcr.io/example-project/example-image@sha256:abcd\
' --attestor=projects/foo/attestors/bar \
--signature-file=signed_artifact_attestation.pgp.sig \
--public-key-id=AAAA0000000000000000FFFFFFFFFFFFFFFFFFFF

View file

@ -20,14 +20,14 @@ EXAMPLES
attestor:
$ gcloud alpha container binauthz attestations list \
--attestor=projects/foo/attestor/bar
--attestor=projects/foo/attestor/bar
List the Occurrence messages for all attestations for the passed
artifact-url bound to the passed attestor:
$ gcloud alpha container binauthz attestations list \
--attestor=projects/foo/attestors/bar \
--artifact-url='gcr.io/foo/example-image@sha256:abcd'
--attestor=projects/foo/attestors/bar \
--artifact-url='gcr.io/foo/example-image@sha256:abcd'
REQUIRED FLAGS
Attestor resource - The Attestor whose Container Analysis Note will be

View file

@ -26,14 +26,11 @@ EXAMPLES
run:
$ gcloud alpha container binauthz attestations sign-and-create \
--project=my_proj \
--artifact-url='gcr.io/example-project/example-image@sha256:abcd' \
--attestor=projects/foo/attestors/bar \
--keyversion-project=foo \
--keyversion-location=us-west1 \
--keyversion-keyring=aring \
--keyversion-key=akey \
--keyversion=1
--project=my_proj \
--artifact-url='gcr.io/example-project/example-image@sha256:abcd\
' --attestor=projects/foo/attestors/bar --keyversion-project=foo \
--keyversion-location=us-west1 --keyversion-keyring=aring \
--keyversion-key=akey --keyversion=1
REQUIRED FLAGS
--artifact-url=ARTIFACT_URL

View file

@ -10,8 +10,7 @@ SYNOPSIS
EXAMPLES
To create an Attestor with an existing Note projects/my_proj/notes/my_note:
$ gcloud alpha container binauthz attestors create \
my_new_attestor
$ gcloud alpha container binauthz attestors create my_new_attestor \
--attestation-authority-note=my_note \
--attestation-authority-note-project=my_proj \

View file

@ -19,18 +19,14 @@ EXAMPLES
To add a new KMS public key to an existing Attestor my_attestor:
$ gcloud alpha container binauthz attestors public-keys add \
--attestor=my_attestor \
--keyversion-project=foo \
--keyversion-location=us-west1 \
--keyversion-keyring=aring \
--keyversion-key=akey \
--keyversion=1
--attestor=my_attestor --keyversion-project=foo \
--keyversion-location=us-west1 --keyversion-keyring=aring \
--keyversion-key=akey --keyversion=1
To add a new PGP public key to an existing Attestor my_attestor:
$ gcloud alpha container binauthz attestors public-keys add \
--attestor=my_attestor \
--pgp-public-key-file=my_key.pub
--attestor=my_attestor --pgp-public-key-file=my_key.pub
REQUIRED FLAGS
Attestor resource - The attestor to which the public key should be added.

View file

@ -10,8 +10,7 @@ EXAMPLES
To remove a public key from the Attestor my_attestor:
$ gcloud alpha container binauthz attestors public-keys remove \
0638AADD940361EA2D7F14C58C124F0E663DA097 \
--attestor=my_attestor
0638AADD940361EA2D7F14C58C124F0E663DA097 --attestor=my_attestor
POSITIONAL ARGUMENTS
PUBLIC_KEY_ID

View file

@ -12,10 +12,10 @@ DESCRIPTION
enabled for the project, or "enabled: false" if CV is disabled.
EXAMPLES
$ gcloud alpha container binauthz continuous-validation describe
enforcementPolicyConfig: enabled: true
name: projects/my-project/continuousValidationConfig updateTime:
'2020-01-01T01:23:45.678901234Z'
$ gcloud alpha container binauthz continuous-validation describe \
enforcementPolicyConfig: enabled: true name: \
projects/my-project/continuousValidationConfig updateTime: \
'2020-01-01T01:23:45.678901234Z'
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -15,7 +15,8 @@ EXAMPLES
To output serialized JSON to sign, run:
$ gcloud alpha container binauthz create-signature-payload \
--artifact-url="gcr.io/example-project/example-image@sha256:abcd"
--artifact-url="gcr.io/example-project/example-image@sha256:abcd\
"
REQUIRED FLAGS
--artifact-url=ARTIFACT_URL