Last active
October 18, 2017 14:01
-
-
Save aweiteka/f68841fbd553dfcd5709cefe17b17d6f to your computer and use it in GitHub Desktop.
Example policy with 2 signatures from 2 different parties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"default": [{"type": "reject"}], | |
"transports": { | |
"docker": { | |
"registry.example.com:5000/big/app": [ | |
{ | |
"type": "signedBy", | |
"keyType": "GPGKeys", | |
"keyPath": "/path/to/foo.gpg" /* assumes you've already downloaded foo pubkey to host */ | |
}, | |
{ | |
"type": "signedBy", | |
"keyType": "GPGKeys", | |
"keyPath": "/path/to/example.gpg" /* assumes you've already downloaded foo pubkey to host */ | |
} | |
] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker: | |
registry.example.com:5000: | |
sigstore: http://sigstore.example.com/signatures/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment