Class: Aws::LakeFormation::Types::TemporaryCredentials

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

Overview

A temporary set of credentials for an Lake Formation user. These credentials are scoped down to only access the raw data sources that the user has access to.

The temporary security credentials consist of an access key and a session token. The access key consists of an access key ID and a secret key. When the credentials are created, they are associated with an IAM access control policy that limits what the user can do when using the credentials.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_id ⇒ String

The access key ID for the temporary credentials.

Returns:

  • (String)


3956
3957
3958
3959
3960
3961
3962
3963
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3956

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

#expiration ⇒ Time

The date and time when the temporary credentials expire.

Returns:

  • (Time)


3956
3957
3958
3959
3960
3961
3962
3963
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3956

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

#secret_access_key ⇒ String

The secret key for the temporary credentials.

Returns:

  • (String)


3956
3957
3958
3959
3960
3961
3962
3963
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3956

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

#session_token ⇒ String

The session token for the temporary credentials.

Returns:

  • (String)


3956
3957
3958
3959
3960
3961
3962
3963
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 3956

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