REST Resource: projects.apps.debugTokens

Resource: DebugToken

A debug token is a secret used during the development or integration testing of an app. It essentially allows the development or integration testing to bypass app attestation while still allowing App Check to enforce protection on supported production Firebase services.

JSON representation
{
  "name": string,
  "displayName": string,
  "token": string
}
Fields
name

string

Required. The relative resource name of the debug token, in the format:

projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
displayName

string

Required. A human readable display name used to identify this debug token.

token

string

Required. Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive.

This field is immutable once set, and cannot be provided during an debugTokens.patch request. You can, however, delete this debug token using debugTokens.delete to revoke it.

For security reasons, this field will never be populated in any response.

Methods

create

Creates a new DebugToken for the specified app.

delete

Deletes the specified DebugToken.

get

Gets the specified DebugToken.

list

Lists all DebugTokens for the specified app.

patch

Updates the specified DebugToken.