Interface AwsSecretCache.Source
- Enclosing class:
AwsSecretCache
public static interface AwsSecretCache.Source
The client operations the cache needs.
-
Method Summary
Modifier and TypeMethodDescriptiondescribeSecret(String secretId) Reads secret metadata.getSecretValue(String secretId, GetSecretValueOptions options) Reads a secret value.
-
Method Details
-
getSecretValue
Reads a secret value.- Parameters:
secretId- name or ARNoptions- version selection- Returns:
- the value
-
describeSecret
Reads secret metadata.- Parameters:
secretId- name or ARN- Returns:
- the metadata
-