Class: Aws::AccountAccessRuntime::Types::ProgrammaticAccessDetails

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

Overview

A set of temporary Amazon Web Services credentials for programmatic access. Treat these values as sensitive.

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)


225
226
227
228
229
230
231
232
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 225

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

#expires_at ⇒ Time

The date and time when the temporary credentials expire, after which they can no longer be used.

Returns:

  • (Time)


225
226
227
228
229
230
231
232
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 225

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

#secret_access_key ⇒ String

The secret access key for the temporary credentials. Treat this value as a secret.

Returns:

  • (String)


225
226
227
228
229
230
231
232
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 225

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

#session_token ⇒ String

The session token that you must include along with the access key ID and secret access key when you make requests with the temporary credentials.

Returns:

  • (String)


225
226
227
228
229
230
231
232
# File 'gems/aws-sdk-accountaccessruntime/lib/aws-sdk-accountaccessruntime/types.rb', line 225

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