lbcli get credential (2.1 and above)
Gets credential information.
lbcli get credential
Gets credential information.
lbcli get credential [flags]
Examples:
x
# Get brief info on 'my-proj:cred-1' credential:
lbcli -J $JWT get credential --project-name=my-proj --id=cred-1
# Get detailed info on 'proj-1:my-cred' credential, with its payload, in JSON format:
lbcli get credential --project-name=proj-1 --id=my-cred --output-format=json
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for credential. | |
--id | string | Credential ID. | ||
--project-name | string | Project name, |
This command returns the following fields for the credentials. The default output format is yaml. The JSON output format is also supported. The human-readable output only shows some of these fields.
Field | Type | Description |
---|---|---|
ID | String | Credential ID. |
Type | Enum |
|
Was this page helpful?