| Package | Description |
|---|---|
| com.amazonaws.secretsmanager.caching | |
| com.amazonaws.secretsmanager.caching.cache |
| Modifier and Type | Method and Description |
|---|---|
SecretCacheConfiguration |
SecretCacheConfiguration.withCacheHook(SecretCacheHook cacheHook)
Sets the interface used to hook the in-memory cache.
|
SecretCacheConfiguration |
SecretCacheConfiguration.withCacheItemTTL(long cacheItemTTL)
Sets the TTL in milliseconds for the cached items.
|
SecretCacheConfiguration |
SecretCacheConfiguration.withClient(com.amazonaws.services.secretsmanager.AWSSecretsManager client)
Sets the AWS Secrets Manager client that should be used by the cache for requesting
secrets.
|
SecretCacheConfiguration |
SecretCacheConfiguration.withMaxCacheSize(int maxCacheSize)
Sets the max cache size.
|
SecretCacheConfiguration |
SecretCacheConfiguration.withVersionStage(String versionStage)
Sets the version stage that should be used for requesting secret values
from AWS Secrets Manager
|
| Constructor and Description |
|---|
SecretCache(SecretCacheConfiguration config)
Constructs a new secret cache using the provided cache configuration.
|
| Modifier and Type | Field and Description |
|---|---|
protected SecretCacheConfiguration |
SecretCacheObject.config
The Secret Cache Configuration.
|
| Constructor and Description |
|---|
SecretCacheItem(String secretId,
com.amazonaws.services.secretsmanager.AWSSecretsManager client,
SecretCacheConfiguration config)
Construct a new cached item for the secret.
|
SecretCacheObject(String secretId,
com.amazonaws.services.secretsmanager.AWSSecretsManager client,
SecretCacheConfiguration config)
Construct a new cached item for the secret.
|
SecretCacheVersion(String secretId,
String versionId,
com.amazonaws.services.secretsmanager.AWSSecretsManager client,
SecretCacheConfiguration config)
Construct a new cached version for the secret.
|
Copyright © 2018. All rights reserved.