Skip to content

Commit

Permalink
update namespace flag (#2774)
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Fernandez <hector@chainguard.dev>
  • Loading branch information
hectorj2f committed Mar 7, 2023
1 parent ba659db commit 4591600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cosign/cli/policy_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func initPolicy() *cobra.Command {
Long: "init is used to generate a root.json policy\nfor keyless signing delegation. This is used to establish a policy for a registry namespace,\na signing threshold and a list of maintainers who can sign over the body section.",
Example: `
# extract public key from private key to a specified out file.
cosign policy init -ns <project_namespace> --maintainers {email_addresses} --threshold <int> --expires <int>(days)`,
cosign policy init --namespace <project_namespace> --maintainers {email_addresses} --threshold <int> --expires <int>(days)`,
PersistentPreRun: options.BindViper,
RunE: func(cmd *cobra.Command, args []string) error {
var publicKeys []*tuf.Key
Expand Down
2 changes: 1 addition & 1 deletion doc/cosign_policy_init.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4591600

Please sign in to comment.