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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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

Method Summary

Methods included from Aws::Structure

#empty?, included, #initialize, #key?, new, #to_h, #to_s

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*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html

Returns:

  • (String)


260
261
262
263
264
265
266
267
# File '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 '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*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html

Returns:

  • (String)


260
261
262
263
264
265
266
267
# File '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*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html

Returns:

  • (String)


260
261
262
263
264
265
266
267
# File '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