Get CLI Installation Command
GET {{cbc-hostname}}/containers/v1/orgs/{{org_key}}/deploy/cli_instances/setup_command
Get CLI Installation Command
Returns the CLI instance installation command.
Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
kubernetes.security | READ |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-AUTH-TOKEN | string | (Required) Carbon Black Access Key | |
Accept | string |
RESPONSES
status: OK
{"command":"\nmkdir -p ~/.cbctl\ncat \u003e ~/.cbctl/.cbctl.yaml \u003c\u003cEOF\nactive_user_profile: cbctl_default\ncbctl_default:\n cb_api_id: $CONNECTOR_ID\n cb_api_key: $API_KEY\n org_key: $ORG_KEY\n saas_url: $ENV_URL\n default_build_step: $DEFAULT_BUILD_STEP\nEOF\n"}