Package io.deephaven.enterprise.secrets
Interface SecretsProvider
- All Known Implementing Classes:
- JsonFilesSecretsProvider,- PropertiesSecretsProvider
public interface SecretsProvider
Implementations provide access to secrets.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceImplementations create instances ofSecretsProviders.
- 
Method SummaryModifier and TypeMethodDescriptiondescribe()Describe this provider for logging purposes.intGet the priority of thisSecretsProvider.@Nullable StringGet the named secret.
- 
Method Details- 
getPriorityint getPriority()Get the priority of thisSecretsProvider. TheSecretsServicewill visit providers in descending order of priority until one returns the requested secret.- Returns:
- the priority of this provider.
 
- 
getSecretGet the named secret.- Parameters:
- secretName- the name of the secret
- Returns:
- the value of the named secret.
 
- 
describeString describe()Describe this provider for logging purposes.- Returns:
- a description of this provider.
 
 
-