Skip to content

Commit 7cc0108

Browse files
authored
Update README.md
1 parent 3dcf795 commit 7cc0108

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ ssh <INSTACEC_USER>@<INSTANCE_ID> \
4747
```
4848

4949
## Alternative Implementation with `ec2-instance-connect`
50-
The advantage from security perspective it that you don't need to grant "ssm:SendCommand" to users.
50+
The advantage from security perspective it that you don't need to grant `ssm:SendCommand` to users and there by the permission to execute everything.
51+
Instead you only grant`ec2-instance-connect:SendSSHPublicKey` permission.
5152
* Ensure [Prerequisits](#prerequisits)
5253
* Use this [aws-ssm-ec2-proxy-command.sh](ec2-instance-connect/aws-ssm-ec2-proxy-command.sh) proxy command script instead
5354
* Use this [IAM Policy Example](ec2-instance-connect/aws-ssm-ec2-iam-policy.json) instead

0 commit comments

Comments
 (0)