Find and Delete Secret
A 3-step recipe with Amazon Secrets Manager. We can help you get access.
Recipe · 3 steps
Find and Delete Secret
with Amazon Secrets Manager · Identity & Access Management
Locate a secret by name and schedule it for deletion if it exists.
- List secrets filtered by name, returning at most one match so the flow can decide whether the target secret exists.
- Read the matched secret's metadata to confirm its ARN before scheduling deletion.
- Schedule the matched secret for deletion with the supplied recovery window so it can be restored before permanent removal.
What you'll need to have ready
- Name: The friendly name of the secret to find and delete.
- RecoveryWindowInDays: The number of days Secrets Manager waits before permanent deletion.
For your developer
Arazzo workflow amazon-secrets-manager:find-and-delete-secret, 3 operations: ListSecrets → DescribeSecret → DeleteSecret. Specs on APIs.io.