using IdentityShroud.Core.Security.Keys; namespace IdentityShroud.Core.Contracts; public record CreateKeyResponse(KeyType KeyType, KeyData Key); public interface IKeyService { CreateKeyResponse CreateKey(KeyPolicy policy); }