Table of Contents

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 string

The name of the profile to get.

profile CredentialProfile

The profile, if it was found, null otherwise.

Returns

bool

True if the profile was found, false otherwise.