Namespace Amazon.Util.Internal
Classes
- EnvironmentVariableRetriever
Wrapper class which invokes the static method public static string GetEnvironmentVariable(string variable) underneath. This class is added as a property on the singleton class EnvironmentVariableSource. This change was done for testability.
- EnvironmentVariableSource
Singleton class that holds the property of type IEnvironmentVariableRetreiver. This property can hold an instance of type EnvironmentVariableRetreiver which has a wrapper method for public static string GetEnvironmentVariable(string variable) or can be mocked for testing purposes.
- NamedSettingsManager
Manager to access a settings store file. Objects are primarily accessed by DisplayName rather than unique key. Settings store files are located under the current user's AppData\Local\AWSToolkit folder. Select keys in these files are encrypted on a per user, per machine basis using the Windows Data Protection API; the encrypted values cannot be used by any other user or on any other machine.
This class is not threadsafe.
- RootConfig
Root AWS config
- SettingsManager
Manager to access a settings store file. Settings store files are located under the current user's AppData\Local\AWSToolkit folder. Select keys in these files are encrypted on a per user, per machine basis using the Windows Data Protection API; the encrypted values cannot be used by any other user or on any other machine.
This class is not threadsafe.
Interfaces
- IEnvironmentVariableRetriever
Interface for EnvironmentVariableRetriever. This serves as a property for the singleton EnvironmentVariableSource