Description Usage Arguments Details See Also Examples
Find profile files, parse, and return combined credential/config profiles.
1 2 | getProfiles(prefix = NULL, credentialFileName = NULL,
configFileName = NULL, profileName = NULL)
|
prefix |
(string) the path to where credential/config files are stored |
credentialFileName |
(string) the arg name pretty much says it |
configFileName |
(string) the arg name pretty much says it |
If no prefix is provided, attempts to identify the default path given the OS detacted. The default parameters should be sufficient unless you have customized the credential/config files. It is assumed your credentials file follows the guidelines at: [AWS CLI Configuration and Credential Files](https://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html)
Other credential management functions: AWSRootCredentials
,
AWSTemporaryCredentials
,
RcurlAWS
,
credsFromInstanceMetadata
,
genCredentialFilePath
,
getCredentials
,
getSTSCredentials
,
parseCredentialFile
,
stsGenContentString
,
tempCredentialHandler
1 2 3 4 5 6 7 8 | getProfiles(
prefix = '/path/to/files',
credentialFileName = 'specialNameCredentials',
configFileName = 'specialNameConfig'
)
#Maybe you don't have a config file, below processes the credential file and prints a soft warning about missing config.
getProfiles(configFileName = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.