Interface ISecretsProvider
Interface for a Secrets provider.
Namespace: Fibula.Providers.Contracts
Assembly: Fibula.Providers.Contracts.dll
Syntax
public interface ISecretsProvider
Methods
| Improve this Doc View SourceGetSecretValueAsync(String)
Retrieves the specified Secret's value from the secret store.
Declaration
Task<SecureString> GetSecretValueAsync(string secretName)
Parameters
Type | Name | Description |
---|---|---|
System.String | secretName | The Secret's name to lookup. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Security.SecureString> | A System.Threading.Tasks.Task representig the asynchronous operation. |
ListSecretIdentifiers()
Retrieves a list of Secret identifiers from the secret store.
Declaration
Task<IEnumerable<string>> ListSecretIdentifiers()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.String>> | A list of secret idetifiers. |