Amazon Secrets Manager · Arazzo Workflow
Amazon Secrets Manager Find and Delete Secret
Version 1.0.0
List secrets filtered by name, branch on whether a match exists, then describe and schedule deletion of the matched secret.
Provider
Workflows
find-and-delete-secret
Locate a secret by name and schedule it for deletion if it exists.
Lists secrets filtered by the supplied name, and when a match is found describes it and calls DeleteSecret with a recovery window; otherwise the workflow ends without deleting anything.
1
findSecret
ListSecrets
List secrets filtered by name, returning at most one match so the flow can decide whether the target secret exists.
2
describeSecret
DescribeSecret
Read the matched secret's metadata to confirm its ARN before scheduling deletion.
3
deleteSecret
DeleteSecret
Schedule the matched secret for deletion with the supplied recovery window so it can be restored before permanent removal.