locate_credentials: Locate AWS credentials

View source: R/credentials.R

locate_credentialsR Documentation

Locate AWS credentials

Description

Locate AWS credentials

Usage

locate_credentials(profile = "", anonymous = FALSE)

Arguments

profile

The name of a profile to use. If not given, then the default profile is used.

anonymous

Set anonymous credentials.

Value

list containing AWS credentials

  • access_key_id - (character) AWS access key ID

  • secret_access_key - (character) AWS secret access key

  • session_token - (character) AWS temporary session token

  • access_token - (character) A token that gives a user permission to access certain resources

  • expiration - (numeric) Indicates the Unix time when an access token will expire.

  • region - (character) The AWS Region used in instantiating the client.


paws.common documentation built on Oct. 4, 2024, 1:08 a.m.