Skip to content

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

inline star::AWSConfigParser::AWSConfigParser (
    const std::string & config_file
) 

function getValue

inline std::string star::AWSConfigParser::getValue (
    const std::string & profile,
    const std::string & key,
    const std::string & default_value=""
) const

function hasProfile

inline bool star::AWSConfigParser::hasProfile (
    const std::string & profile
) const

Public Static Functions Documentation

function getConfigPath

static inline std::string star::AWSConfigParser::getConfigPath () 

function getCredentialsPath

static inline std::string star::AWSConfigParser::getCredentialsPath () 


The documentation for this class was generated from the following file StarDS/include/stards.h