aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <Credentials.h>
Public Member Functions | |
CredentialsProviderSTSConfig () | |
Public Attributes | |
std::shared_ptr< ICredentialsProvider > | Provider |
String | RoleArn |
String | SessionName |
uint16_t | DurationSeconds |
Io::ClientBootstrap * | Bootstrap |
Io::TlsContext | TlsCtx |
Optional< Http::HttpClientConnectionProxyOptions > | ProxyOptions |
Configuration options for the STS credentials provider
Aws::Crt::Auth::CredentialsProviderSTSConfig::CredentialsProviderSTSConfig | ( | ) |
Io::ClientBootstrap* Aws::Crt::Auth::CredentialsProviderSTSConfig::Bootstrap |
Connection bootstrap to use to create the http connection required to query credentials from the STS provider
Note: If null, then the default ClientBootstrap is used (see Aws::Crt::ApiHandle::GetOrCreateStaticDefaultClientBootstrap)
uint16_t Aws::Crt::Auth::CredentialsProviderSTSConfig::DurationSeconds |
How long sourced credentials should remain valid for, in seconds. 900 is the minimum allowed value.
std::shared_ptr<ICredentialsProvider> Aws::Crt::Auth::CredentialsProviderSTSConfig::Provider |
Credentials provider to be used to sign the requests made to STS to fetch credentials.
Optional<Http::HttpClientConnectionProxyOptions> Aws::Crt::Auth::CredentialsProviderSTSConfig::ProxyOptions |
String Aws::Crt::Auth::CredentialsProviderSTSConfig::RoleArn |
Arn of the role to assume by fetching credentials for
String Aws::Crt::Auth::CredentialsProviderSTSConfig::SessionName |
Assumed role session identifier to be associated with the sourced credentials
Io::TlsContext Aws::Crt::Auth::CredentialsProviderSTSConfig::TlsCtx |
TLS configuration for secure socket connections.