Generate a temporary credential for accessing S3

credentials_post_temporary(id, duration = NULL)

Arguments

id

integer required. The ID of the credential.

duration

integer optional. The number of seconds the temporary credential should be valid. Defaults to 15 minutes. Must not be less than 15 minutes or greater than 36 hours.

Value

A list containing the following elements:

accessKey

string, The identifier of the credential.

secretAccessKey

string, The secret part of the credential.

sessionToken

string, The session token identifier.