You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**POWERTOOLS_LOG_DEDUPLICATION_DISABLED**| Disables log deduplication filter protection to use Pytest Live Log feature |[Logging](./core/logger)|`false`|
709
-
|**POWERTOOLS_PARAMETERS_MAX_AGE**| Adjust how long values are kept in cache (in seconds) |[Parameters](.//utilities/parameters/#adjusting-cache-ttl)|`5`|
710
-
|**POWERTOOLS_PARAMETERS_SSM_DECRYPT**| Sets whether to decrypt or not values retrieved from AWS SSM Parameters Store |[Parameters](.//utilities/parameters/#ssmprovider)|`false`|
709
+
|**POWERTOOLS_PARAMETERS_MAX_AGE**| Adjust how long values are kept in cache (in seconds) |[Parameters](./utilities/parameters/#adjusting-cache-ttl)|`5`|
710
+
|**POWERTOOLS_PARAMETERS_SSM_DECRYPT**| Sets whether to decrypt or not values retrieved from AWS SSM Parameters Store |[Parameters](./utilities/parameters/#ssmprovider)|`false`|
711
711
|**POWERTOOLS_DEV**| Increases verbosity across utilities | Multiple; see [POWERTOOLS_DEV effect below](#increasing-verbosity-across-utilities)|`false`|
Copy file name to clipboardExpand all lines: docs/utilities/parameters.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ The following will retrieve the latest version and store it in the cache.
103
103
???+ tip
104
104
`max_age` parameter is also available in underlying provider functions like `get()`, `get_multiple()`, etc.
105
105
106
-
By default, we cache parameters retrieved in-memory for 5 seconds. If you want to change this default value and set the same TTL for all parameters, you can set the `POWERTOOLS_PARAMETERS_MAX_AGE` environment variable. **This will override the default TTL of 5 seconds but can be overridden by the `maxAge` parameter**.
106
+
By default, we cache parameters retrieved in-memory for 5 seconds. If you want to change this default value and set the same TTL for all parameters, you can set the `POWERTOOLS_PARAMETERS_MAX_AGE` environment variable. **You can still set `max_age` for individual parameters**.
107
107
108
108
You can adjust how long we should keep values in cache by using the param `max_age`, when using `get_parameter()`, `get_parameters()` and `get_secret()` methods across all providers.
109
109
@@ -180,7 +180,7 @@ The AWS Systems Manager Parameter Store provider supports two additional argumen
180
180
You can create `SecureString` parameters, which are parameters that have a plaintext parameter name and an encrypted parameter value. If you don't use the `decrypt` argument, you will get an encrypted value. Read [here](https://docs.aws.amazon.com/kms/latest/developerguide/services-parameter-store.html) about best practices using KMS to secure your parameters.
181
181
182
182
???+ tip
183
-
If you want to always decrypt parameters, you can set the `POWERTOOLS_PARAMETERS_SSM_DECRYPT=true` environment variable. **This will override the default value of `false` but can be overridden by the `decrypt`parameter**.
183
+
If you want to always decrypt parameters, you can set the `POWERTOOLS_PARAMETERS_SSM_DECRYPT=true` environment variable. **This will override the default value of `false` but you can still set the `decrypt`option for individual parameters**.
0 commit comments