-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Baseline CLI reference for subsequent PRs on changes #171
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Notation CLI | ||
|
||
The following spec outlines the notation CLI. | ||
The CLI commands are what's currently available in [notation v0.7.1-alpha.1](https://github.com/notaryproject/notation/releases/tag/v0.7.1-alpha.1) | ||
|
||
|
||
```bash | ||
notation help | ||
NAME: | ||
notation - Notation - Notary V2 | ||
|
||
USAGE: | ||
notation [global options] command [command options] [arguments...] | ||
|
||
VERSION: | ||
0.0.0-SNAPSHOT-17c7607 | ||
|
||
AUTHOR: | ||
CNCF Notary Project | ||
|
||
COMMANDS: | ||
sign Signs artifacts | ||
verify Verifies OCI Artifacts | ||
push Push signature to remote | ||
pull Pull signatures from remote | ||
list, ls List signatures from remote | ||
certificate, cert Manage certificates used for verification | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given that we decided to manage certificates using the trust policy defnition, should we drop There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also considering this usecase for local file with passpharse should we possibly have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to think through the initial experience and production experiences here. Today, this can be accomplished with some straight-forward commands. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
See examples here for how this needs to be configured for RC1 - trust store , trust policy. |
||
key Manage keys used for signing | ||
cache Manage signature cache | ||
plugin Manage KMS plugins | ||
help, h Shows a list of commands or help for one command | ||
|
||
GLOBAL OPTIONS: | ||
--help, -h show help (default: false) | ||
--version, -v print the version (default: false) | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.