2026-02-27 17:57:42 +00:00
|
|
|
using IdentityShroud.Core.Security;
|
|
|
|
|
|
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-27 17:57:42 +00:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Should return one active key, might return inactive keys.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
KeyEncryptionKey[] GetKeys(string name);
|
2026-02-06 19:58:01 +01:00
|
|
|
}
|