- get(K) - Method in class com.amazonaws.secretsmanager.caching.cache.LRUCache
-
Return the value mapped to the given key.
- get(Object) - Method in interface com.amazonaws.secretsmanager.caching.SecretCacheHook
-
Derive the object from the cached object.
- getAndPut(K, V) - Method in class com.amazonaws.secretsmanager.caching.cache.LRUCache
-
Return the previously mapped value and map a new value.
- getAndRemove(K) - Method in class com.amazonaws.secretsmanager.caching.cache.LRUCache
-
Return the previously mapped value and remove the key.
- getCacheHook() - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Returns the interface used to hook in-memory cache updates.
- getCacheItemTTL() - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Returns the TTL for the cached items.
- getClient() - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Returns the AWS Secrets Manager client that is used for requesting secret values.
- getMaxCacheSize() - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Returns the max cache size that should be used for creating the cache.
- getSecretBinary(String) - Method in class com.amazonaws.secretsmanager.caching.SecretCache
-
Method to retrieve a binary secret from AWS Secrets Manager.
- getSecretString(String) - Method in class com.amazonaws.secretsmanager.caching.SecretCache
-
Method to retrieve a string secret from AWS Secrets Manager.
- getSecretValue(DescribeSecretResult) - Method in class com.amazonaws.secretsmanager.caching.cache.SecretCacheItem
-
Return the cached result from AWS Secrets Manager for GetSecretValue.
- getSecretValue(T) - Method in class com.amazonaws.secretsmanager.caching.cache.SecretCacheObject
-
Execute the actual refresh of the cached secret state.
- getSecretValue() - Method in class com.amazonaws.secretsmanager.caching.cache.SecretCacheObject
-
Return the cached result from AWS Secrets Manager for GetSecretValue.
- getSecretValue(GetSecretValueResult) - Method in class com.amazonaws.secretsmanager.caching.cache.SecretCacheVersion
-
Return the cached result from AWS Secrets Manager for GetSecretValue.
- getVersionStage() - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Returns the version stage that is used for requesting secret values.
- SecretCache - Class in com.amazonaws.secretsmanager.caching
-
Provides the primary entry-point to the AWS Secrets Manager client cache SDK.
- SecretCache() - Constructor for class com.amazonaws.secretsmanager.caching.SecretCache
-
Constructs a new secret cache using the standard AWS Secrets Manager client with default options.
- SecretCache(AWSSecretsManagerClientBuilder) - Constructor for class com.amazonaws.secretsmanager.caching.SecretCache
-
Constructs a new secret cache using an AWS Secrets Manager client created using the
provided builder.
- SecretCache(AWSSecretsManager) - Constructor for class com.amazonaws.secretsmanager.caching.SecretCache
-
Constructs a new secret cache using the provided AWS Secrets Manager client.
- SecretCache(SecretCacheConfiguration) - Constructor for class com.amazonaws.secretsmanager.caching.SecretCache
-
Constructs a new secret cache using the provided cache configuration.
- SecretCacheConfiguration - Class in com.amazonaws.secretsmanager.caching
-
Cache configuration options such as max cache size, ttl for cached items, etc.
- SecretCacheConfiguration() - Constructor for class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Default constructor for the SecretCacheConfiguration object.
- SecretCacheHook - Interface in com.amazonaws.secretsmanager.caching
-
Interface to hook the local in-memory cache.
- SecretCacheItem - Class in com.amazonaws.secretsmanager.caching.cache
-
The cached secret item which contains information from the DescribeSecret
request to AWS Secrets Manager along with any associated GetSecretValue
results.
- SecretCacheItem(String, AWSSecretsManager, SecretCacheConfiguration) - Constructor for class com.amazonaws.secretsmanager.caching.cache.SecretCacheItem
-
Construct a new cached item for the secret.
- SecretCacheObject<T> - Class in com.amazonaws.secretsmanager.caching.cache
-
Basic secret caching object.
- SecretCacheObject(String, AWSSecretsManager, SecretCacheConfiguration) - Constructor for class com.amazonaws.secretsmanager.caching.cache.SecretCacheObject
-
Construct a new cached item for the secret.
- SecretCacheVersion - Class in com.amazonaws.secretsmanager.caching.cache
-
The cached secret version item which contains information from the
GetSecretValue AWS Secrets Manager request.
- SecretCacheVersion(String, String, AWSSecretsManager, SecretCacheConfiguration) - Constructor for class com.amazonaws.secretsmanager.caching.cache.SecretCacheVersion
-
Construct a new cached version for the secret.
- secretId - Variable in class com.amazonaws.secretsmanager.caching.cache.SecretCacheObject
-
The secret identifier for this cached object.
- setCacheHook(SecretCacheHook) - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Sets the interface used to hook the in-memory cache.
- setCacheItemTTL(long) - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Sets the TTL in milliseconds for the cached items.
- setClient(AWSSecretsManager) - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Sets the AWS Secrets Manager client that should be used by the cache for requesting
secrets.
- setMaxCacheSize(int) - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Sets the max cache size.
- setVersionStage(String) - Method in class com.amazonaws.secretsmanager.caching.SecretCacheConfiguration
-
Sets the version stage that should be used for requesting secret values
from AWS Secrets Manager