aws / aws/aws-sam-cli

Add a least privilege policy template to use the SAM CLI

Open
#4,901 1 comment 3 reactions 0 assignees View on GitHub
stage/pm-review type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Describe your idea/feature/enhancement

Following the best practice, we don't want to use a poweruser for developers, however it is not very clear of the least privilege to provide to the IAM user who are using sam cli (at least to run SAM deploy and SAM pipeline bootstrap).
Those automated command are creating resources spanning across many services and takes a lot of time to do trail-and-error type of permission granting.
It would be better to have a least privilege template available for a reference.

### Proposal

Add least privilege template to the documentation.

Things to consider:
1. No changes to the core but to add a IAM policy template to the documentation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.