Class: Aws::SSO::Types::RoleCredentials

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

Overview

Provides information about the role credentials that are assigned to the user.

Constant Summary collapse

SENSITIVE =
[:secret_access_key, :session_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

Returns:

  • (String)


260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 260

class RoleCredentials < Struct.new(
  :access_key_id,
  :secret_access_key,
  :session_token,
  :expiration)
  SENSITIVE = [:secret_access_key, :session_token]
  include Aws::Structure
end

#expirationInteger

The date on which temporary security credentials expire.

Returns:

  • (Integer)


260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 260

class RoleCredentials < Struct.new(
  :access_key_id,
  :secret_access_key,
  :session_token,
  :expiration)
  SENSITIVE = [:secret_access_key, :session_token]
  include Aws::Structure
end

#secret_access_keyString

The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

Returns:

  • (String)


260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 260

class RoleCredentials < Struct.new(
  :access_key_id,
  :secret_access_key,
  :session_token,
  :expiration)
  SENSITIVE = [:secret_access_key, :session_token]
  include Aws::Structure
end

#session_tokenString

The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

Returns:

  • (String)


260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 260

class RoleCredentials < Struct.new(
  :access_key_id,
  :secret_access_key,
  :session_token,
  :expiration)
  SENSITIVE = [:secret_access_key, :session_token]
  include Aws::Structure
end