15 lines
No EOL
438 B
C#
15 lines
No EOL
438 B
C#
namespace IdentityShroud.SecretProviders;
|
|
|
|
/// <summary>
|
|
/// Required interface of a SecretProvider.
|
|
/// </summary>
|
|
public interface ISecretProvider
|
|
{
|
|
/// <summary>
|
|
/// Used as a key in the registry. This same value should be used for the type field
|
|
/// when configuring a secret.
|
|
/// </summary>
|
|
string Key { get; }
|
|
|
|
Task<PlainSecret> GetSecret(string configurationValue, CancellationToken ct = default);
|
|
} |