SecretsManagerClient.deleteSecret deletes a secret from AWS' secrets manager.
Parameter | Type | Description |
---|---|---|
secretID | string | The ARN or name of the secret to update. |
options | { recoveryWindow: 30, noRecovery: false } | Use options to control the deletion behavior. recoveryWindow defines how long a secret will remain “soft-deleted”, in days, before being hard-deleted. noRecovery set to true would hard-delete the secret immediately. Note that both options are exclusive. |