Struct star::S3Credentials¶
ClassList > star > S3Credentials
AWS Credentials with resolution chain. More...
#include <stards.h>
Public Attributes¶
| Type | Name |
|---|---|
| std::string | access_key |
| std::string | secret_key |
| std::string | session_token |
Public Static Functions¶
| Type | Name |
|---|---|
| S3Credentials | resolve (const std::string & profile="") Resolve credentials using standard AWS chain. |
Detailed Description¶
Resolves credentials in standard AWS order: * Environment variables * AWS SSO session * Credentials file
Public Attributes Documentation¶
variable access_key¶
variable secret_key¶
variable session_token¶
Public Static Functions Documentation¶
function resolve¶
Resolve credentials using standard AWS chain.
Parameters:
profileProfile name (from AWS_PROFILE env var or "default")
Returns:
Exception:
std::runtime_errorif no credentials found
The documentation for this class was generated from the following file StarDS/include/stards.h