REST Resource: projects.apps.appAttestConfig

Resource: AppAttestConfig

An app's App Attest configuration object. This configuration controls certain properties of the AppCheckToken returned by ExchangeAppAttestAttestation and ExchangeAppAttestAssertion, such as its ttl.

Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the Firebase Management Service.

JSON representation
{
  "name": string,
  "tokenTtl": string
}
Fields
name

string

Required. The relative resource name of the App Attest configuration object, in the format:

projects/{project_number}/apps/{app_id}/appAttestConfig
tokenTtl

string (Duration format)

Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

Methods

batchGet

Atomically gets the AppAttestConfigs for the specified list of apps.

get

Gets the AppAttestConfig for the specified app.

patch

Updates the AppAttestConfig for the specified app.