v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
GCP Auth

Attach GCP Auth configuration onto machine identity

post/api/v1/auth/gcp-auth/identities/{identityId}

Path parameters

identityIdstring required

The ID of the machine identity to attach the configuration onto.

Request body

type'iam' | 'gce' required
allowedServiceAccountsstring

The comma-separated list of trusted service account emails corresponding to the GCE resource(s) allowed to authenticate with Infisical.

allowedProjectsstring

The comma-separated list of trusted GCP projects that the GCE instance must belong to authenticate with Infisical.

allowedZonesstring

The comma-separated list of trusted zones that the GCE instances must belong to authenticate with Infisical.

accessTokenTTLinteger

The lifetime for an access token in seconds.

accessTokenMaxTTLinteger

The maximum lifetime for an access token in seconds.

accessTokenNumUsesLimitinteger

The maximum number of times that an access token can be used.

Response

Default Response