dcloud errors auth-tokens create-upload-token

A short-lived SENTRY_AUTH_TOKEN for one project: source-map upload only, at most an hour

IAM errors:UploadSourceMapsChanges state

For builds elsewhere: a GitHub workflow exchanges its OIDC token at the STS for a temporary access key, then asks for this token, so no static secret lives in GitHub (/docs/errors/guide/upload-source-maps). Never outlives the calling key; revoked at expiry.

Synopsis

dcloud errors auth-tokens create-upload-token id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --ttl-secondsOptional

    number

    Lifetime, at most an hour (and never beyond the caller’s own credential)

    Constraints: integer, 60-3600

    Default: 3600

Example

dcloud errors auth-tokens create-upload-token id

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