get_aws_credentials: get_aws_credentials

View source: R/credentials.R

get_aws_credentialsR Documentation

get_aws_credentials

Description

Gets temporary credentials for an AWS service.

Usage

get_aws_credentials(
  aws_region = NULL,
  session_duration = 3600L,
  role_session_name = NULL,
  ...
)

Arguments

aws_region

Default is NULL, which will look for relevant environment variables and if not found set this to be the relevant region for most Analytical Platform users.

session_duration

The number of seconds which the session should last before needing new authentication. Minimum of 900.

role_session_name

This is a parameter for authentication, and should be left to NULL in normal operation.

...

Further arguments for the paws function assume_role_with_web_identity


moj-analytical-services/Rdbtools documentation built on June 22, 2024, 8:46 p.m.