OauthAccessToken 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

An OAuth access token for the current user.

Definitions

io.kestra.plugin.gcp.auth.OauthAccessToken-AccessTokenOutput

Properties

expirationTime
  • Type: string
  • Dynamic:
  • Required:
  • Format: date-time
scopes
  • Type: array
  • SubType: string
  • Dynamic:
  • Required:
tokenValue
  • Type: string
  • Dynamic:
  • Required:

OAuth access token value

Will be automatically encrypted and decrypted in the outputs if encryption is configured

Was this page helpful?