Description Usage Arguments Details Author(s) References See Also Examples
View source: R/read_credentials.R
Use a profile from a .aws/credentials file
1 2 3 | read_credentials(file = default_credentials_file())
use_credentials(profile = "default", file = default_credentials_file())
|
file |
A character string containing a path to a .aws/credentials file. By default, the standard/centralized file is used. For |
profile |
A character string specifing which profile to use from the file. By default, the “default” profile is used. |
read_credentials
reads and parses a .aws/credentials file into an object of class “aws_credentials”.
use_credentials
uses credentials from a profile stored in a credentials file to set the environment variables used by this package.
Thomas J. Leeper <thosjleeper@gmail.com>
Amazon blog post describing the format
signature_v2_auth
, use_credentials
1 2 3 4 5 6 7 8 | ## Not run:
# set environment variables from a profile
use_credentials()
# read and parse a file
read_credentials()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.