credentials_post_temporary {civis}R Documentation

Generate a temporary credential for accessing S3

Description

Generate a temporary credential for accessing S3

Usage

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.


[Package civis version 3.0.0 Index]