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)


295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 295

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)


295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 295

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)


295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 295

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)


295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 295

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