|
bes
Updated for version 3.20.13
|

Public Member Functions | |
| void | add (const std::string &key, const std::string &value) |
| Add the key and value pair. More... | |
| time_t | expires () const |
| std::string | get (const std::string &key) |
| void | get_temporary_credentials () |
| 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) |
| bool | needs_refresh () const |
| NgapS3Credentials (const std::string &credentials_endpoint, long refresh_margin) | |
| std::string | to_json () |
Definition at line 30 of file NgapS3Credentials.h.
|
inherited |
Add the key and value pair.
| key | |
| value |
Definition at line 62 of file AccessCredentials.cc.
|
virtual |
Retrieves the value of key
| key | The key value to retrieve |
Reimplemented from AccessCredentials.
Definition at line 56 of file NgapS3Credentials.cc.
| void NgapS3Credentials::get_temporary_credentials | ( | ) |
This code assumes that the credentials needed to authenticate the retrieval of the S3 credentials will be handled by the curl call via the ~/.netrc file of the BES user.
| distribution_api_endpoint | The URL of the cumulus distribution api s3credentials endpoint |
Definition at line 69 of file NgapS3Credentials.cc.
|
virtual |
Do the URL, ID, Key amd Region items make up an S3 Credential?
Reimplemented from AccessCredentials.
Definition at line 54 of file NgapS3Credentials.cc.