dcloud ecr signing put-policy

Turn "only signed images deploy" on or off

IAM ecr:PutSigningPolicyChanges state

{"requireSignedImages": true} makes the deploy service refuse an image from the registry that no trusted key signed, and every image from another registry. Images Deutsche Cloud builds from source pass by provenance. New deployments only — running apps keep running.

Synopsis

dcloud ecr signing put-policy --require-signed-images requireSignedImages

Flags

  • --require-signed-imagesRequired

    boolean (--require-signed-images / --no-require-signed-images)

    true: a new deployment is refused unless a trusted key signed its image (images built from source pass by provenance; images from another registry are refused). false: signatures are shown, nothing is refused. Running apps are not affected either way

Example

dcloud ecr signing put-policy --require-signed-images

Generated from the API description, the same one the API checks requests against and the CLI is built from.