|
| 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.
|
|
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?
|
|
std::string | name () |
|
void | name (const std::string &name) |
|
std::string | to_json () |
|
Definition at line 11 of file AccessCredentials.h.
◆ AccessCredentials()
AccessCredentials::AccessCredentials |
( |
const std::string & |
config_name | ) |
|
|
inlineexplicit |
◆ add()
void AccessCredentials::add |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
◆ get()
string AccessCredentials::get |
( |
const std::string & |
key | ) |
|
|
virtual |
Retrieves the value of key
- Parameters
-
key | The key value to retrieve |
- Returns
- The value of the key, empty string if the key does not exist.
Reimplemented in NgapS3Credentials.
Definition at line 47 of file AccessCredentials.cc.
◆ is_s3_cred()
bool AccessCredentials::is_s3_cred |
( |
| ) |
|
|
virtual |
◆ name() [1/2]
std::string AccessCredentials::name |
( |
| ) |
|
|
inline |
◆ name() [2/2]
void AccessCredentials::name |
( |
const std::string & |
name | ) |
|
|
inline |
◆ to_json()
string AccessCredentials::to_json |
( |
| ) |
|
◆ ID_KEY
const char * AccessCredentials::ID_KEY = "id" |
|
static |
◆ KEY_KEY
const char * AccessCredentials::KEY_KEY = "key" |
|
static |
◆ REGION_KEY
const char * AccessCredentials::REGION_KEY = "region" |
|
static |
◆ URL_KEY
const char * AccessCredentials::URL_KEY = "url" |
|
static |
The documentation for this class was generated from the following files: