PipelineDestinationAuthenticationConfigGoogleOidc

data class PipelineDestinationAuthenticationConfigGoogleOidc(val audience: String? = null, val serviceAccount: String)

Constructors

constructor(audience: String? = null, serviceAccount: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val audience: String? = null

Audience to be used to generate the OIDC Token. The audience claim identifies the recipient that the JWT is intended for. If unspecified, the destination URI will be used.

Link copied to clipboard

Service account email used to generate the OIDC Token. The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow the Pipeline to create OpenID tokens for authenticated requests.