OauthAccessToken
OauthAccessToken
yaml
type: "io.kestra.plugin.gcp.auth.OauthAccessToken"
Fetch an OAuth access token.
Properties
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 used
serviceAccount
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP service account key
Outputs
accessToken
- Type: AccessToken
A oauth access token for the current user
Definitions
AccessToken
scopes
- Type: array
- SubType: string
- Dynamic: ❓
- Required: ❌
tokenValue
- Type: string
- Dynamic: ❓
- Required: ❌