Class: Aws::EKSAuth::Types::AssumeRoleForPodIdentityResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:credentials]

Instance Attribute Summary collapse

Instance Attribute Details

#assumed_role_userTypes::AssumedRoleUser

An object with the permanent IAM role identity and the temporary session name.

The ARN of the IAM role that the temporary credentials authenticate to.

The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format: eks-clustername-podname-random UUID



87
88
89
90
91
92
93
94
95
# File 'gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/types.rb', line 87

class AssumeRoleForPodIdentityResponse < Struct.new(
  :subject,
  :audience,
  :pod_identity_association,
  :assumed_role_user,
  :credentials)
  SENSITIVE = [:credentials]
  include Aws::Structure
end

#audienceString

The identity that is allowed to use the credentials. This value is always pods.eks.amazonaws.com.

Returns:

  • (String)


87
88
89
90
91
92
93
94
95
# File 'gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/types.rb', line 87

class AssumeRoleForPodIdentityResponse < Struct.new(
  :subject,
  :audience,
  :pod_identity_association,
  :assumed_role_user,
  :credentials)
  SENSITIVE = [:credentials]
  include Aws::Structure
end

#credentialsTypes::Credentials

The Amazon Web Services Signature Version 4 type of temporary credentials.

Returns:



87
88
89
90
91
92
93
94
95
# File 'gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/types.rb', line 87

class AssumeRoleForPodIdentityResponse < Struct.new(
  :subject,
  :audience,
  :pod_identity_association,
  :assumed_role_user,
  :credentials)
  SENSITIVE = [:credentials]
  include Aws::Structure
end

#pod_identity_associationTypes::PodIdentityAssociation

The Amazon Resource Name (ARN) and ID of the EKS Pod Identity association.



87
88
89
90
91
92
93
94
95
# File 'gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/types.rb', line 87

class AssumeRoleForPodIdentityResponse < Struct.new(
  :subject,
  :audience,
  :pod_identity_association,
  :assumed_role_user,
  :credentials)
  SENSITIVE = [:credentials]
  include Aws::Structure
end

#subjectTypes::Subject

The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.

Returns:



87
88
89
90
91
92
93
94
95
# File 'gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/types.rb', line 87

class AssumeRoleForPodIdentityResponse < Struct.new(
  :subject,
  :audience,
  :pod_identity_association,
  :assumed_role_user,
  :credentials)
  SENSITIVE = [:credentials]
  include Aws::Structure
end