Class: Aws::GameLift::Types::AwsCredentials

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-gamelift/types.rb

Overview

Amazon Web Services account security credentials that allow interactions with Amazon GameLift resources. The credentials are temporary and valid for a limited time span. You can request fresh credentials at any time.

Amazon Web Services security credentials consist of three parts: an access key ID, a secret access key, and a session token. You must use all three parts together to authenticate your access requests.

You need Amazon Web Services credentials for the following tasks:

[1]: docs.aws.amazon.com/gamelift/latest/apireference/API_RequestUploadCredentials.html [2]: docs.aws.amazon.com/gamelift/latest/apireference/API_GetComputeAccess.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The access key ID that identifies the temporary security credentials.

Returns:

  • (String)


205
206
207
208
209
210
211
# File 'lib/aws-sdk-gamelift/types.rb', line 205

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

#secret_access_keyString

The secret access key that can be used to sign requests.

Returns:

  • (String)


205
206
207
208
209
210
211
# File 'lib/aws-sdk-gamelift/types.rb', line 205

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

#session_tokenString

The token that users must pass to the service API to use the temporary credentials.

Returns:

  • (String)


205
206
207
208
209
210
211
# File 'lib/aws-sdk-gamelift/types.rb', line 205

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