gcloud_alpha_container_binauthz_attestors_public-keys_add (1)
NAME
- gcloud alpha container binauthz attestors public-keys add - add a public key to an Attestor
SYNOPSIS
-
gcloud alpha container binauthz attestors public-keys add --attestor=ATTESTOR --public-key-file=PUBLIC_KEY_FILE [--comment=COMMENT] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Add a public key to an Attestor.
REQUIRED FLAGS
-
-
- Attestor resource - The attestor to which the public key should be added. This represents a Cloud resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the [project] attribute: provide the argument [--attestor] on the command line with a fully specified name; provide the argument [--project] on the command line; set the property [core/project]. This must be specified.
-
- --attestor=ATTESTOR
-
ID of the attestor or fully qualified identifier for the attestor.
- Attestor resource - The attestor to which the public key should be added. This represents a Cloud resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the [project] attribute: provide the argument [--attestor] on the command line with a fully specified name; provide the argument [--project] on the command line; set the property [core/project]. This must be specified.
- --public-key-file=PUBLIC_KEY_FILE
-
The path to the file containing the ASCII-armored PGP public key to add.
-
OPTIONAL FLAGS
-
- --comment=COMMENT
-
The comment describing the public key.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support This variant is also available:
- $ gcloud beta container binauthz attestors public-keys add