2026-02-06 19:58:01 +01:00
|
|
|
namespace IdentityShroud.Core.Contracts;
|
|
|
|
|
|
|
|
|
|
public interface ISecretProvider
|
|
|
|
|
{
|
2026-02-15 19:18:02 +01:00
|
|
|
string GetSecret(string name);
|
2026-02-24 06:32:58 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Should return one active key, might return inactive keys.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
EncryptionKey[] GetKeys(string name);
|
2026-02-06 19:58:01 +01:00
|
|
|
}
|