Class star::AWSConfigParser¶
ClassList > star > AWSConfigParser
AWS Configuration file parser. More...
#include <stards.h>
Public Functions¶
| Type | Name |
|---|---|
| AWSConfigParser (const std::string & config_file) |
|
| std::string | getValue (const std::string & profile, const std::string & key, const std::string & default_value="") const |
| bool | hasProfile (const std::string & profile) const |
Public Static Functions¶
| Type | Name |
|---|---|
| std::string | getConfigPath () |
| std::string | getCredentialsPath () |
Detailed Description¶
Parses INI-style configuration files like ~/.aws/config and ~/.aws/credentials
Public Functions Documentation¶
function AWSConfigParser¶
function getValue¶
inline std::string star::AWSConfigParser::getValue (
const std::string & profile,
const std::string & key,
const std::string & default_value=""
) const
function hasProfile¶
Public Static Functions Documentation¶
function getConfigPath¶
function getCredentialsPath¶
The documentation for this class was generated from the following file StarDS/include/stards.h