Skip to main content
POST
Get CLI Credential

Headers

OpenPMM-Request-Id
string

Optional request ID. OpenPMM returns this value when it is valid. Otherwise, OpenPMM creates a request ID.

Maximum string length: 128

Body

application/json

The device secret returned when authorization started.

device_secret
string
required
Required string length: 32 - 200

Response

The authorized CLI credential.

object
string
required
Allowed value: "cli_credential"
status
string
required
Allowed value: "authorized"
api_key
string
required

Full API key. This value is returned only once.

workspace_id
string
required

Authorized Workspace ID.

Example:

"ws_01JABCDEF"

workspace_name
string
required
account_id
string
required

Owning Account ID.

Example:

"acct_01JABCDEF"