OidcTokenArgs

data class OidcTokenArgs(val audience: Output<String>? = null, val serviceAccountEmail: Output<String>? = null) : ConvertibleToJava<OidcTokenArgs>

Contains information needed for generating an OpenID Connect token.

Constructors

Link copied to clipboard
constructor(audience: Output<String>? = null, serviceAccountEmail: Output<String>? = null)

Properties

Link copied to clipboard
val audience: Output<String>? = null

Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.

Link copied to clipboard
val serviceAccountEmail: Output<String>? = null

Service account email to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.

Functions

Link copied to clipboard
open override fun toJava(): OidcTokenArgs