namespace AIStudio.Tools.DataBackup; /// /// Tells whether the OS keyring of this computer holds a secret. /// public interface IStoredSecrets { /// /// Whether the API key of a provider is stored. /// /// The provider. /// The kind of provider. /// True when the key is stored. public Task HasAPIKeyAsync(ISecretId secretId, SecretStoreType storeType); /// /// Whether another secret is stored, e.g., the password of a data source. /// /// What the secret belongs to. /// The kind of secret. /// True when the secret is stored. public Task HasSecretAsync(ISecretId secretId, SecretStoreType storeType); }