secretsmanager:DeleteSecret is a Write access-level action in the secretsmanager service. Grants permission to delete a secret
ARNs that secretsmanager:DeleteSecret can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants secretsmanager:DeleteSecret.
Filters access by a key that is present in the request the user makes to the Secrets Manager service
Filters access by the tags associated with the resource
Filters access by the list of all the tag key names present in the request the user makes to the Secrets Manager service
Filters access by a tag key and value pair
Filters access by the ARN of the rotation Lambda function associated with the secret
Filters access by the managed external secret type associated with the secret
A minimal policy that allows secretsmanager:DeleteSecret. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSecretsmanagerDeleteSecret",
"Effect": "Allow",
"Action": "secretsmanager:DeleteSecret",
"Resource": "*"
}
]
}