lbcli create credential (2.1 and above)
Creates a new credential.
Synopsis
Creates a new credential with the specified properties.
lbcli create credential [flags]
Examples:
x
# Creates a credential with the name "cred1".
lbcli -J $JWT create credential --project-name=prod1 --id=cred-id-1 --type=rsa256pubkey /path/to/file/cred1.crt
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for credential. | |
--id | string | Credential ID (required). | ||
--project-name | string | Project name (required). | ||
--type | string | Credential type. One of: [pki rsa256pubkey cert-chain] (required). |
Was this page helpful?