OauthAccessToken
yaml
type: "io.kestra.plugin.gcp.auth.OauthAccessToken"
Fetch an OAuth access token.
Properties
impersonatedServiceAccount
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP service account to impersonate.
projectId
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP project ID.
scopes
- Type: array
- SubType: string
- Dynamic: ✔️
- Required: ❌
- Default:
[ "https://www.googleapis.com/auth/cloud-platform" ]
The GCP scopes to be used.
serviceAccount
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP service account.
Outputs
accessToken
- Type: OauthAccessToken-AccessTokenOutput
- Required: ✔️
Definitions
io.kestra.plugin.gcp.auth.OauthAccessToken-AccessTokenOutput
expirationTime
- Type: string
- Dynamic: ❌
- Required: ❓
- Format:
date-time
scopes
- Type: array
- SubType: string
- Dynamic: ❌
- Required: ❓
tokenValue
- Type: string
- Dynamic: ❌
- Required: ❓