Interface ICredentialProfileSource
- Namespace
- Amazon.Runtime.CredentialManagement
- Assembly
- AWSSDK.Core.dll
Interface to define the necessary operations for a CredentialProfile lookup mechanism.
public interface ICredentialProfileSource
Methods
TryGetProfile(string, out CredentialProfile)
Get the profile with the given name, if one exists.
bool TryGetProfile(string profileName, out CredentialProfile profile)
Parameters
profileName
stringThe name of the profile to get.
profile
CredentialProfileThe profile, if it was found, null otherwise.
Returns
- bool
True if the profile was found, false otherwise.