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 35 of file service_credentials_provider_test.cpp.

Member Data Documentation

◆ kFullCredentialsInfo

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 41 of file service_credentials_provider_test.cpp.

◆ kFullCredentialsInfoKeys

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

Definition at line 42 of file service_credentials_provider_test.cpp.

◆ kFullIotConfig

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 40 of file service_credentials_provider_test.cpp.

◆ kFullIotConfigMandatoryKeys

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

Definition at line 39 of file service_credentials_provider_test.cpp.

◆ kFullIotConfigMap

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 38 of file service_credentials_provider_test.cpp.

◆ param_reader_

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

Definition at line 45 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 Mon Feb 28 2022 21:58:58