Static Public Attributes | Protected Attributes | List of all members
ServiceCredentialsProviderFixture Class Reference
Inheritance diagram for ServiceCredentialsProviderFixture:
Inheritance graph
[legend]

Static Public Attributes

static const std::map< std::string, std::string > kFullCredentialsInfo
 
static const std::list< std::string > kFullCredentialsInfoKeys
 
static const IotRoleConfig kFullIotConfig
 
static const std::list< std::string > kFullIotConfigMandatoryKeys
 
static const std::map< std::string, std::string > kFullIotConfigMap
 

Protected Attributes

std::shared_ptr< ParameterReaderMockparam_reader_
 

Detailed Description

Definition at line 49 of file service_credentials_provider_test.cpp.

Member Data Documentation

const std::map< std::string, std::string > ServiceCredentialsProviderFixture::kFullCredentialsInfo
static
Initial value:
= {
{"expiration", "2019-01-10T21:57:06Z"},
{"accessKeyId", "ZWM2ODYzNDEwZWJhNGM0NjZiYzk4ZDI4"},
{"secretAccessKey", "YWYyNWM0NmEzZWE1NWQy"},
{"sessionToken", "YTFhM2NhNjM5OGZlMDlmYmRmMTY3Mzk5WQyNDVkMTJjYThi"}
}

Definition at line 55 of file service_credentials_provider_test.cpp.

const std::list< std::string > ServiceCredentialsProviderFixture::kFullCredentialsInfoKeys
static
Initial value:
= {
"expiration", "accessKeyId", "secretAccessKey", "sessionToken"
}

Definition at line 56 of file service_credentials_provider_test.cpp.

const IotRoleConfig ServiceCredentialsProviderFixture::kFullIotConfig
static
Initial value:
= IotRoleConfig(
kFullIotConfigMap.at("cafile").c_str(),
kFullIotConfigMap.at("certfile").c_str(),
kFullIotConfigMap.at("keyfile").c_str(),
kFullIotConfigMap.at("endpoint").c_str(),
kFullIotConfigMap.at("role").c_str(),
kFullIotConfigMap.at("thing_name").c_str(),
StringUtils::ConvertToInt32(kFullIotConfigMap.at("connect_timeout_ms").c_str()),
StringUtils::ConvertToInt32(kFullIotConfigMap.at("total_timeout_ms").c_str())
)

Definition at line 54 of file service_credentials_provider_test.cpp.

const std::list< std::string > ServiceCredentialsProviderFixture::kFullIotConfigMandatoryKeys
static
Initial value:
= {
"cafile", "certfile", "keyfile", "endpoint", "role", "thing_name"
}

Definition at line 53 of file service_credentials_provider_test.cpp.

const std::map< std::string, std::string > ServiceCredentialsProviderFixture::kFullIotConfigMap
static
Initial value:
= {
{"cafile", "M2M1NTA0NTQxMDg4YTUxMzcyMzY4MTNh"}, {"certfile", "MmQ2NWEyZmFmNThlOWM1"},
{"keyfile", "MDAxZmZiY2VjYmIwMGM"}, {"endpoint", "xNDhkYzU5MjNm"},
{"role", "YmIwNTMx"}, {"thing_name", "MzExMTdlMGI2YzY5ZjJmYTli"},
{"connect_timeout_ms", "42"}, {"total_timeout_ms", "27"}
}

Definition at line 52 of file service_credentials_provider_test.cpp.

std::shared_ptr<ParameterReaderMock> ServiceCredentialsProviderFixture::param_reader_
protected
Initial value:
=
std::make_shared<ParameterReaderMock>()

Definition at line 59 of file service_credentials_provider_test.cpp.


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


aws_common
Author(s): AWS RoboMaker
autogenerated on Sat Mar 6 2021 03:11:38