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 be used.

serviceAccount

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP service account key.

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

OAuth access token value

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

io.kestra.core.models.tasks.common.EncryptedString

Properties

type
  • Type: string
  • Dynamic:
  • Required:
value
  • Type: string
  • Dynamic:
  • Required:

Was this page helpful?