Class: Aws::STS::Types::OriginIdentity

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

Overview

The session's aws:OriginIdentity/Subject, aws:OriginIdentity/SubjectType, aws:OriginIdentity/Issuer and aws:OriginIdentity/FederatedProviderArn keys. A member is absent when the session does not have the key.

Constant Summary collapse

SENSITIVE =
[:subject, :subject_type, :issuer]

Instance Attribute Summary collapse

Instance Attribute Details

#federated_provider_arn ⇒ String

The value of the aws:OriginIdentity/FederatedProviderArn key: the ARN of the IAM identity provider that the request federated through.

Returns:

  • (String)


2109
2110
2111
2112
2113
2114
2115
2116
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 2109

class OriginIdentity < Struct.new(
  :subject,
  :subject_type,
  :issuer,
  :federated_provider_arn)
  SENSITIVE = [:subject, :subject_type, :issuer]
  include Aws::Structure
end

#issuer ⇒ String

The value of the aws:OriginIdentity/Issuer key. For AssumeRoleWithWebIdentity, this is the iss claim of the token without the https:// prefix. For AssumeRoleWithSAML, this is a hash of the key that signed the SAML assertion, not the Issuer element of the assertion.

Returns:

  • (String)


2109
2110
2111
2112
2113
2114
2115
2116
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 2109

class OriginIdentity < Struct.new(
  :subject,
  :subject_type,
  :issuer,
  :federated_provider_arn)
  SENSITIVE = [:subject, :subject_type, :issuer]
  include Aws::Structure
end

#subject ⇒ String

The value of the aws:OriginIdentity/Subject key: the end user's identifier, taken from the token claim that the context provider maps as the subject.

Returns:

  • (String)


2109
2110
2111
2112
2113
2114
2115
2116
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 2109

class OriginIdentity < Struct.new(
  :subject,
  :subject_type,
  :issuer,
  :federated_provider_arn)
  SENSITIVE = [:subject, :subject_type, :issuer]
  include Aws::Structure
end

#subject_type ⇒ String

The value of the aws:OriginIdentity/SubjectType key, which indicates whether the end user is a person (user) or a non-human caller such as an application or service (workload).

Returns:

  • (String)


2109
2110
2111
2112
2113
2114
2115
2116
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 2109

class OriginIdentity < Struct.new(
  :subject,
  :subject_type,
  :issuer,
  :federated_provider_arn)
  SENSITIVE = [:subject, :subject_type, :issuer]
  include Aws::Structure
end