Construct an AwsSecretsManagerTools instance.
ReadonlyclientThe effective SDK client (captured when X-Ray is enabled).
Import AWS SDK *Command classes as needed and call tools.client.send(...).
ReadonlyclientThe effective client config used to construct the base client.
Note: this may contain functions/providers (e.g., credential providers).
ReadonlyloggerThe logger used by this wrapper and (when applicable) by the AWS client.
ReadonlyxrayMaterialized X-Ray state (mode + enabled + daemonAddress when relevant).
Create a new secret containing an env-map.
Options:
secretId: Secret name (or ARN in some contexts).value: Env-map payload to store (JSON object map).description: Optional AWS secret description.forceOverwriteReplicaSecret: See AWS CreateSecret behavior for replicas.versionId: Optional client request token (idempotency).Delete a secret.
By default, deletion is recoverable (AWS default recovery window) unless
forceDeleteWithoutRecovery is set.
Options:
secretId: Secret name or ARN.recoveryWindowInDays: Explicit recovery window to use.forceDeleteWithoutRecovery: Dangerous: delete without recovery.Read a Secrets Manager secret and parse it as an env-map secret.
Options:
secretId: Secret name or ARN.versionId: Optional version id to read.Write a new version value for an existing secret.
This does not create the secret if it does not exist.
Options:
secretId: Secret name or ARN.value: Env-map payload to store (JSON object map).versionId: Optional client request token (idempotency).Put a secret value, creating the secret only when it does not exist.
This creates only when the update fails with ResourceNotFoundException;
other errors are re-thrown.
'updated' if updated; 'created' if the secret was created.
Tools-style AWS Secrets Manager wrapper for env-map secrets.
The secret payload is always a JSON object map of environment variables:
ProcessEnv.Consumers should typically use the convenience methods on this class, and use AwsSecretsManagerTools.client as an escape hatch when they need AWS SDK operations not wrapped here.