Merge pull request #885 from programmerq/patch-2

you must add a second delegation
This commit is contained in:
Misty Stanley-Jones 2016-12-19 16:06:34 -08:00 committed by GitHub
commit ee59978f9c
1 changed files with 6 additions and 0 deletions

View File

@ -160,6 +160,12 @@ trusted repository.
Valid delegation roles take the form of `targets/<delegation>`, where
`<delegation>` does not include further slashes.
You will need to add the key to at least one delegation in addition to the `targets/releases` delegation in order for UCP to honor the signed content:
```bash
$ notary delegation add -p <dtr_url>/<account>/<repository> targets/devops --all-paths user1.pem user2.pem
```
Before delegation role users can publish signed content with Notary or
Docker Content Trust, they must import the private key associated with the user certificate: