Generate an S3 STS token for a user.

Unknown Privileges

Generate a temporary S3 STS token for a user. Returns an access key, secret access key, session token and expiry time. A user can generate a token for itself by default. Generating a token for another user requires the 'Manage STS Tokens' privilege, which is granted to admin users by default.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≥ 1

Specifies the SID of the user for whom the STS token is generated. The SID uniquely identifies the user across tenants.

Body Params

Specifies the parameters to generate an S3 STS token.

Specifies the parameters to generate an S3 STS token.

int32 | null
required

Specifies how long, in seconds, the generated token is valid.

policy
object | null

Specifies an optional session policy that scopes down the token's permissions. It is enforced on every S3 operation performed using the token.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json