bes
Updated for version 3.20.8
|
Public Member Functions | |
AccessCredentials (const AccessCredentials &ac)=default | |
AccessCredentials (const std::string &config_name) | |
void | add (const std::string &key, const std::string &value) |
Add the key and value pair. More... | |
virtual std::string | get (const std::string &key) |
virtual bool | is_s3_cred () |
Do the URL, ID, Key amd Region items make up an S3 Credential? More... | |
std::string | name () |
void | name (const std::string &name) |
std::string | to_json () |
Static Public Attributes | |
static const char * | ID_KEY = "id" |
static const char * | KEY_KEY = "key" |
static const char * | REGION_KEY = "region" |
static const char * | URL_KEY = "url" |
Definition at line 11 of file AccessCredentials.h.
void AccessCredentials::add | ( | const std::string & | key, |
const std::string & | value | ||
) |
Add the key and value pair.
key | |
value |
Definition at line 85 of file AccessCredentials.cc.
|
virtual |
Retrieves the value of key
key | The key value to retrieve |
Reimplemented in NgapS3Credentials.
Definition at line 70 of file AccessCredentials.cc.
|
virtual |
Do the URL, ID, Key amd Region items make up an S3 Credential?
Reimplemented in NgapS3Credentials.
Definition at line 93 of file AccessCredentials.cc.