Class: Aws::EKS::Types::WorkloadIdentityConfigRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb

Overview

The workload identity configuration for an EKS Pod Identity association.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabled ⇒ Boolean

Whether workload identity is enabled for the association. This value is required when you include workloadIdentityConfig in a create request. When you update an association, omit this value to keep the current value.

Returns:

  • (Boolean)


10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 10445

class WorkloadIdentityConfigRequest < Struct.new(
  :enabled,
  :template_arn,
  :provider_arn)
  SENSITIVE = []
  include Aws::Structure
end

#provider_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM Workload Identity Provider to use for the association. The provider is the authority that issues the workload's identity context. It can be in the same Amazon Web Services account as the cluster, or it can be an organization-level provider. Provide providerArn and templateArn together.

Returns:

  • (String)


10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 10445

class WorkloadIdentityConfigRequest < Struct.new(
  :enabled,
  :template_arn,
  :provider_arn)
  SENSITIVE = []
  include Aws::Structure
end

#template_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM workload identity template to use for the association. The template defines how attested facts about the workload, such as its Kubernetes namespace, service account, and Pod, are rendered into the workload's SPIFFE ID. The template's policy defines the attestation that a Pod must satisfy to receive a workload identity.

The template must be in the same Amazon Web Services account as the cluster. Provide templateArn and providerArn together.

Returns:

  • (String)


10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 10445

class WorkloadIdentityConfigRequest < Struct.new(
  :enabled,
  :template_arn,
  :provider_arn)
  SENSITIVE = []
  include Aws::Structure
end