OauthAccessToken
Fetch a GCP OAuth access token.
yaml
type: "io.kestra.plugin.gcp.auth.OauthAccessToken"
Properties
impersonatedServiceAccount string
The GCP service account to impersonate.
projectId string
The GCP project ID.
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
serviceAccount string
The GCP service account.
Outputs
accessToken *RequiredOauthAccessToken-AccessTokenOutput
An OAuth access token for the current user.
Definitions
io.kestra.plugin.gcp.auth.OauthAccessToken-AccessTokenOutput
expirationTime string
Format
date-time
scopes array
SubType string
tokenValue string
OAuth access token value
Will be automatically encrypted and decrypted in the outputs if encryption is configured