🚀 New! Kestra raises $3 million to grow Learn more

GetAuthToken GetAuthToken

yaml
type: "io.kestra.plugin.aws.ecr.GetAuthToken"

Retrieve AWS ECR authorization token to push Docker images to Amazon ECR and to pull images from that container registry.

Examples

Retrieve the AWS ECR authorization token

yaml
id: "get_auth_token"
type: "io.kestra.plugin.aws.ecr.GetAuthToken"
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"

Properties

accessKeyId

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

The Access Key Id in order to connect to AWS

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

compatibilityMode

  • Type: boolean
  • Dynamic:
  • Required:

endpointOverride

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

The endpoint with which the SDK should communicate.

Should normally not be used except for local development.

region

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

The region with which the SDK should communicate.

secretKeyId

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

The Secret Key Id in order to connect to AWS

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

sessionToken

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

The he AWS session token, retrieved from an AWS token service, used for authenticating that this user has received temporary permission to access some resource.

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

Outputs

token

  • Type: string

Amazon authorization token