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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/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:

  • To upload a game server build directly to Amazon GameLift S3 storage using CreateBuild. To get access for this task, call RequestUploadCredentials.

  • To remotely connect to an active Amazon GameLift fleet instances. To get remote access, call GetComputeAccess.

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)


199
200
201
202
203
204
205
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 199

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)


199
200
201
202
203
204
205
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 199

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)


199
200
201
202
203
204
205
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 199

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