Skip to content

waldur-cli auth personal-access-token create

Create personal access tokens (named, scoped, time-limited api credentials).

Usage

1
waldur-cli auth personal-access-token create (--request JSON | --request-file PATH | --generate-skeleton)
Flag Type Description
--request JSON string Request body as inline JSON.
--request-file PATH path Read the request body from a JSON or YAML file.
--generate-skeleton [FORMAT] json yaml

Examples

See the fillable template first:

1
waldur-cli auth personal-access-token create --generate-skeleton

Then fill it in and submit:

1
waldur-cli auth personal-access-token create --request '{"allowed_scopes":null,"expires_at":"","name":"","scopes":[""]}'

Global options

Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.