# IAM policy example: write parameters under a team path, with a least privilege rewrite

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

Allows a team to create, update and delete parameters only under /teams/payments/ in Parameter Store, and to tag them. The original allows ssm:PutParameter and DeleteParameter on every parameter in the account. Resource names and account 111122223333 are placeholders used in AWS documentation.

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "WriteParams",
      "Effect": "Allow",
      "Action": [
        "ssm:PutParameter",
        "ssm:DeleteParameter",
        "ssm:AddTagsToResource"
      ],
      "Resource": "arn:aws:ssm:us-east-1:111122223333:parameter/*"
    }
  ]
}
```

## What it allows

- Allows creating, deleting and tagging every parameter in one Region.

- Allows 3 actions (ssm:PutParameter, ssm:DeleteParameter, ssm:AddTagsToResource) on arn:aws:ssm:us-east-1:111122223333:parameter/*.

Checks:
- No flags.

A team can overwrite another team's parameter, including values that applications read at startup.

## Least privilege rewrite

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "WriteTeamPath",
      "Effect": "Allow",
      "Action": [
        "ssm:PutParameter",
        "ssm:DeleteParameter",
        "ssm:AddTagsToResource"
      ],
      "Resource": "arn:aws:ssm:us-east-1:111122223333:parameter/teams/payments/*"
    }
  ]
}
```

The rewrite limits the resource to the /teams/payments/ path. Parameters outside the path cannot be changed.

- Allows 3 actions (ssm:PutParameter, ssm:DeleteParameter, ssm:AddTagsToResource) on arn:aws:ssm:us-east-1:111122223333:parameter/teams/payments/*.

Checks:
- No flags.

- [Paste it into the workbench](/)
- [Every Systems Manager action and its access level](/actions/ssm/)

## Related pages

- [IAM policy example: read one CloudWatch Logs group](/examples/logs-read-one-log-group/)
- [IAM policy example: write to one log group](/examples/logs-application-write-logs/)
- [IAM policy example: read CloudTrail events](/examples/cloudtrail-read-recent-events/)
- [All of them](/examples/)

## Sources

- AWS Systems Manager User Guide: create a Parameter Store parameter: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html (read 16 Nov 2026)
- AWS Service Authorization Reference, programmatic access (fetched 16 Nov 2026): https://docs.aws.amazon.com/service-authorization/latest/reference/service-reference.html (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://iampolicygenerator.com/examples/ssm-write-own-parameter-path/

This site is not affiliated with Amazon Web Services. AWS service and product names are used only to describe AWS services.
