Open endophage opened 8 years ago
Great to see this!
I'd like to pick up the The use of registry auth
if it was not in a hurry. It is one of the use case from production I've been asked for.
Also, more details on what does various metadata signing keys mean? Like snapshot, target n all? Also, to push into a trusted collection, AFAIK, you need to have the root keys (in ~/.docker/trust). How do we share the root keys across users?
@achandak123 The various signing keys are explained by the TUF spec that Notary implements - this doc is more about design decisions beyond the TUF spec, but yes we agree we should definitely list what is covered by the spec and what isn't.
Also, yes we need to document our recommendations regarding key management for different use cases.
@HuKeping That would be awesome, thank you!
@endophage I also think we need to some documentations on using Notary CLI. I dont there are any. I understand that this is thread is more for Notary "design" decisions but I feel we also need to add Notary CLI docs (Do we have one? Am I missing? )
@innocentme1 https://github.com/docker/notary#getting-started-with-the-notary-cli, https://github.com/docker/notary/blob/master/docs/getting_started.md, and https://github.com/docker/notary/blob/master/docs/advanced_usage.md come to mind - is there a particular topic that you think we should add more documentation around for the CLI?
@riyazdf I somehow missed one of these links. I think they are pretty nice. Thanks for sharing!
Also, I feel maybe we can add a good example to rotating keys too? just as you guys did for others. Maybe take a example collection and show command by command to users for rotating keys? Rotating keys is really important and I feel it would be nice to see that but if you feel its not necessary - then okay :)
@innocentme1 we have a key management subsection in the Advanced Usage docs that covers key rotation (also on the docs website).
I totally agree with you that rotating keys is an important piece of documentation, so if you have a particular example in mind that you think we could include beyond that explanation we would be very open to including it.
Topics that needs docs:
cc @ecordell