gcloud container binauthz create-signature-payload - create a JSON container image signature object
gcloud container binauthz create-signature-payload --artifact-url=ARTIFACT_URL [GCLOUD_WIDE_FLAG ...]
Given a container image URL specified by the manifest digest, this command will produce a JSON object whose signature is expected by Cloud Binary Authorization.
To output serialized JSON to sign, run:
$ gcloud container binauthz create-signature-payload \ --artifact-url="gcr.io/example-project/example-image@sha256:abcd\ "
- --artifact-url=ARTIFACT_URL
Container URL. May be in the gcr.io/repository/image format, or may optionally contain the http or https scheme
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
These variants are also available:
$ gcloud alpha container binauthz create-signature-payload
$ gcloud beta container binauthz create-signature-payload