dcloud errors auth-tokens create

Create a SENTRY_AUTH_TOKEN (an access key of yours capped to errors:*), shown once

IAM errors:UploadSourceMapsChanges state

sentry-cli reads the URL and organization from the token: SENTRY_AUTH_TOKEN alone redirects it here.

Synopsis

dcloud errors auth-tokens create [flags]

Flags

  • --descriptionOptional

    string

    What the token is for, 1–200 characters, default "sentry-cli"; the access key is described as "Error Tracking: <description>"

    Constraints: 1-200 chars

    Default: "sentry-cli"

  • --expires-in-daysOptional

    number

    Days until the token expires, 1–3650. Default: the organization’s default access-key lifetime (90 days unless changed); more than the organization’s maximum (365 days unless changed) is refused (400)

    Constraints: integer, 1-3650

Example

dcloud errors auth-tokens create

Generated from the API description, the same one the API checks requests against and the CLI is built from.