Package io.airlift.spi.secrets
Interface SecretProvider
public interface SecretProvider
-
Method Summary
Modifier and TypeMethodDescriptionresolveSecretValue(String key) Resolves and returns the secret value for the given key.
-
Method Details
-
resolveSecretValue
Resolves and returns the secret value for the given key.- Returns:
- resolved secret value
- Throws:
RuntimeException- if key cannot be resolved.
-