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.

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

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

Returns:

  • (String)


283
284
285
286
287
288
289
# File 'lib/aws-sdk-sso/types.rb', line 283

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

#expirationInteger

The date on which temporary security credentials expire.

Returns:

  • (Integer)


283
284
285
286
287
288
289
# File 'lib/aws-sdk-sso/types.rb', line 283

class RoleCredentials < Struct.new(
  :access_key_id,
  :secret_access_key,
  :session_token,
  :expiration)
  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)


283
284
285
286
287
288
289
# File 'lib/aws-sdk-sso/types.rb', line 283

class RoleCredentials < Struct.new(
  :access_key_id,
  :secret_access_key,
  :session_token,
  :expiration)
  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)


283
284
285
286
287
288
289
# File 'lib/aws-sdk-sso/types.rb', line 283

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