bes  Updated for version 3.20.6
AccessCredentials Class Reference
Collaboration diagram for AccessCredentials:
Collaboration graph

Public Member Functions

 AccessCredentials (const AccessCredentials &ac)=default
 
 AccessCredentials (std::string config_name)
 
void add (const std::string &key, const std::string &value)
 
std::string get (const std::string &key)
 
bool isS3Cred ()
 
std::string name ()
 
std::string to_json ()
 

Static Public Attributes

static const std::string BUCKET_KEY ="bucket"
 
static const std::string ID_KEY ="id"
 
static const std::string KEY_KEY ="key"
 
static const std::string REGION_KEY ="region"
 
static const std::string URL_KEY ="url"
 

Detailed Description

Definition at line 36 of file CredentialsManager.h.

Member Function Documentation

◆ add()

void AccessCredentials::add ( const std::string &  key,
const std::string &  value 
)
Parameters
key
value

Definition at line 433 of file CredentialsManager.cc.

◆ get()

std::string AccessCredentials::get ( const std::string &  key)

Retrieves the value of key

Parameters
keyThe key value to retrieve
Returns
The value of the key, empty string if the key does not exist.

Definition at line 418 of file CredentialsManager.cc.

◆ isS3Cred()

bool AccessCredentials::isS3Cred ( )
Returns

Definition at line 443 of file CredentialsManager.cc.


The documentation for this class was generated from the following files: