Interface AwsSecretCache.Source

Enclosing class:
AwsSecretCache

public static interface AwsSecretCache.Source
The client operations the cache needs.
  • Method Details

    • getSecretValue

      AwsSecretValue getSecretValue(String secretId, GetSecretValueOptions options)
      Reads a secret value.
      Parameters:
      secretId - name or ARN
      options - version selection
      Returns:
      the value
    • describeSecret

      SecretDescription describeSecret(String secretId)
      Reads secret metadata.
      Parameters:
      secretId - name or ARN
      Returns:
      the metadata