So nutzt du: AWS IAM Policy Generator
- Choose IAM policy to attach to a user or role, or S3 bucket policy to attach to a bucket.
- Enter your account ID and region so the ARNs are complete.
- Add one permission per service with + Add permission: pick the access level (read, write, full) and the resource name — a bucket, table, queue, function or secret. Remove one with ×.
- Tick conditions such as Require MFA or HTTPS only, then copy the JSON or the AWS CLI command. Fix anything flagged in the warnings first.
Least privilege in practice
An IAM policy is a list of statements: an Effect (Allow or Deny), the Actions it covers and the Resources they apply to, optionally with Conditions. Least privilege means granting only the actions a workload really uses, on only the resources it needs — so a leaked key can’t delete your database or read every bucket.
- Avoid
"Action": "*"and"Resource": "*"; the generator warns when a statement uses them. - S3 needs two resource forms:
arn:aws:s3:::bucketforListBucketandarn:aws:s3:::bucket/*for objects — the generator splits them automatically. - A few actions only work on
*, such asecr:GetAuthorizationToken; those get their own statement.
Bucket policies
A bucket policy is attached to the bucket and names a Principal — another account, a role, CloudFront or everyone. The recommended setup for websites is a private bucket that only CloudFront with Origin Access Control can read, plus a statement that denies plain-HTTP requests. Public read needs S3 Block Public Access turned off, so only use it for truly public files.
Test policies before production with the IAM policy simulator, and review access with IAM Access Analyzer. Related: Kubernetes YAML Generator, CORS Header Generator.
Auch gesucht als: iam policy generator, aws policy generator, s3 bucket policy generator, least privilege iam policy, iam policy json, aws iam policy example, dynamodb iam policy, lambda iam policy.
Passende Tools zu: AWS IAM Policy Generator
- GitLab CI Generator — Pick your stack and get a working .gitlab-ci.yml: install with caching, lint and test jobs, a build with artifacts, a Docker image pushed to the GitLab registry, or a GitLab Pages deploy — with rules that run pipelines for merge requests and your default branch without duplicates.
- GitHub Actions Workflow-Generator — Wähle deinen Stack, deine Trigger und Schritte aus und erhalte eine kommentierte .github/workflows/ci.yml — Installation, Zwischenspeicherung, Lint, Test, Build, eine Versionsmatrix und optional die Bereitstellung auf GitHub Pages, Vercel oder in einer Container-Registry.
- JSON Formatierer — Füge JSON ein, um es zu formatieren, zu minifizieren oder zu prüfen.
- YAML Validator — Paste a Docker Compose file, Kubernetes manifest, GitHub Actions workflow or any YAML to pinpoint errors, catch common pitfalls and get a cleanly formatted version.