AWS SDK for C++AWS SDK for C++ Version 1.11.788 |
#include <AWSCredentials.h>
Simple data object around aws credentials
Definition at line 49 of file AWSCredentials.h.
Initializes an empty credentials set. Empty credentials are not expired by default. Credentials expire only if an expiration date is explicitly set on them.
Definition at line 57 of file AWSCredentials.h.
Initializes object with accessKeyId, secretKey. SessionToken defaults to empty string. Expiration date is set to "never expire".
Definition at line 66 of file AWSCredentials.h.
Initializes object with accessKeyId, secretKey, and sessionToken. Expiration date is set to "never expire".
Definition at line 75 of file AWSCredentials.h.
Initializes object with accessKeyId, secretKey, sessionToken and expiration date.
Definition at line 83 of file AWSCredentials.h.
Initializes object with accessKeyId, secretKey, sessionToken, expiration date and account Id.
Definition at line 91 of file AWSCredentials.h.
Copy constructor.
Move constructor.
Destructor that securely clears sensitive credential data from memory.
Definition at line 115 of file AWSCredentials.h.
Adds a user agent feature used during credentials resolution to the credentials context. This is useful to track which credentials provider was used.
Definition at line 294 of file AWSCredentials.h.
5000)
const
Checks to see if the credentials will expire in a threshold of time
| millisecondThreshold | the milliseconds of threshold we will check for expiry. |
Definition at line 167 of file AWSCredentials.h.
Gets the underlying account id
Definition at line 206 of file AWSCredentials.h.
Gets the underlying access key credential
Definition at line 174 of file AWSCredentials.h.
Gets the underlying secret key credential
Definition at line 182 of file AWSCredentials.h.
Gets credential resolution context. this is information about the call such as what credentials provider was used to to resolve the credentials
Definition at line 288 of file AWSCredentials.h.
Gets the expiration date of the credential
Definition at line 198 of file AWSCredentials.h.
Gets the underlying session token
Definition at line 190 of file AWSCredentials.h.
If credentials haven't been initialized or been initialized to empty values. Expiration date does not affect the result of this function.
Definition at line 157 of file AWSCredentials.h.
Definition at line 159 of file AWSCredentials.h.
Definition at line 169 of file AWSCredentials.h.
Definition at line 148 of file AWSCredentials.h.
Move assignment operator.
Copy assignment operator.
Definition at line 138 of file AWSCredentials.h.
Sets the underlying account id. Copies from parameter accountId
Definition at line 238 of file AWSCredentials.h.
Sets the underlying account id. Copies from parameter accountId
Definition at line 271 of file AWSCredentials.h.
Sets the underlying access key credential. Copies from parameter accessKeyId.
Definition at line 214 of file AWSCredentials.h.
Sets the underlying access key credential. Copies from parameter accessKeyId.
Definition at line 247 of file AWSCredentials.h.
Sets the underlying secret key credential. Copies from parameter secretKey
Definition at line 222 of file AWSCredentials.h.
Sets the underlying secret key credential. Copies from parameter secretKey
Definition at line 255 of file AWSCredentials.h.
Sets the expiration date of the credential
Definition at line 279 of file AWSCredentials.h.
Sets the underlying session token. Copies from parameter sessionToken
Definition at line 230 of file AWSCredentials.h.
Sets the underlying secret key credential. Copies from parameter secretKey
Definition at line 263 of file AWSCredentials.h.