Class: Aws::GameLift::Types::AwsCredentials
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::AwsCredentials
- 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:
-
To upload a game server build directly to Amazon GameLift S3 storage using ‘CreateBuild`. To get access for this task, call [docs.aws.amazon.com/gamelift/latest/apireference/API_RequestUploadCredentials.html][1].
-
To remotely connect to an active Amazon GameLift fleet instances. To get remote access, call [docs.aws.amazon.com/gamelift/latest/apireference/API_GetComputeAccess.html][2].
[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
-
#access_key_id ⇒ String
The access key ID that identifies the temporary security credentials.
-
#secret_access_key ⇒ String
The secret access key that can be used to sign requests.
-
#session_token ⇒ String
The token that users must pass to the service API to use the temporary credentials.
Instance Attribute Details
#access_key_id ⇒ String
The access key ID that identifies the temporary security credentials.
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_key ⇒ String
The secret access key that can be used to sign requests.
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_token ⇒ String
The token that users must pass to the service API to use the temporary credentials.
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 |