CLICommand referencecredential
credential
Commands, arguments, and options for openship credential.
See the workflow guide for examples. Global flags such as --json go before the command; see global options.
openship credential
Manage stored registry and DNS credentials; reads return masked secrets
openship credential|credentials [options] [command]| Subcommand | Purpose |
|---|---|
providers | Show supported providers and their required fields |
list|ls | List stored credentials |
get <id> | Show one credential with secrets masked |
create <file> | Create a credential; required provider fields are validated by the engine |
update <id> <file> | Update selected credential fields without echoing secrets |
verify <id> | Verify a credential against its provider |
remove|rm [options] <id> | Remove a stored credential |
openship credential create
Create a credential; required provider fields are validated by the engine
openship credential create [options] <file>| Argument | Meaning |
|---|---|
file | JSON object with provider, name, optional selector and values |
openship credential get
Show one credential with secrets masked
openship credential get [options] <id>| Argument | Meaning |
|---|---|
id | Credential ID |
openship credential list
List stored credentials
openship credential list|ls [options]openship credential providers
Show supported providers and their required fields
openship credential providers [options]openship credential remove
Remove a stored credential
openship credential remove|rm [options] <id>| Argument | Meaning |
|---|---|
id | Credential ID |
| Option | Meaning |
|---|---|
-y, --yes | Skip confirmation |
openship credential update
Update selected credential fields without echoing secrets
openship credential update [options] <id> <file>| Argument | Meaning |
|---|---|
id | Credential ID |
file | JSON credential patch |
openship credential verify
Verify a credential against its provider
openship credential verify [options] <id>| Argument | Meaning |
|---|---|
id | Credential ID |