POST auth/steam/aws

Acquire the information needed by a client to establish AWS SDK credentials for a user logged in through Steam. This is needed, for example, to upload files to the user's space in an S3 bucket.

Example

POST /api/v1/auth/steam/aws HTTP/1.1
Accept: application/json
Authorization: Bearer ...
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "IdentityPoolId": "us-west-2:238...bd6f",
  "IdentityId": "us-west-2:df7...1fc6",
  "Logins": {
    "cognito-identity.amazonaws.com": "eyJ...ob4A"
  }
}

Security

API authentication is required and must correspond to a Steam user.

URL Parameters

NONE

Query Parameters

NONE

Request Body

NONE

Response

Successful responses are code 200 with data in the response body. Error responses are standard.

The format of the data returned (while not described here in detail) is intended to be suitable for passing directly into the AWS SDK's credential object constructor on the client, e.g.: new CognitoIdentityCredentials(data) (using the Javascript version of the SDK as the example).