Class ProfileInternalConfiguration
Determines configuration values based on a CredentialProfile stored in an ICredentialProfileSource. If the profile doesn't exist, the status will be logged and no value will be set in the configuration.
public class ProfileInternalConfiguration : InternalConfiguration
- Inheritance
-
ProfileInternalConfiguration
- Inherited Members
Constructors
ProfileInternalConfiguration(ICredentialProfileSource)
Attempts to construct an instance of ProfileInternalConfiguration. If the AWS_PROFILE environment variable is set the instance will be constructed using that profile, otherwise it will use the default profile.
If the profile doesn't exist status will be logged and no value will be set in the configuration.
public ProfileInternalConfiguration(ICredentialProfileSource source)
Parameters
source
ICredentialProfileSourceThe ICredentialProfileSource to read the profile from.
ProfileInternalConfiguration(ICredentialProfileSource, string)
Attempts to construct an instance of ProfileInternalConfiguration. If the profile doesn't exist status will be logged and no value will be set in the configuration.
public ProfileInternalConfiguration(ICredentialProfileSource source, string profileName)
Parameters
source
ICredentialProfileSourceThe ICredentialProfileSource to read the profile from.
profileName
stringThe name of the profile.