You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Recommended Usage of `ec2-instance-connect:SendSSHPublicKey` instead of `ssm:SendCommand`
54
+
## Recommended Usage of `ec2-instance-connect:SendSSHPublicKey`
55
55
The advantage from a security perspective is that you don't need to grant `ssm:SendCommand` to users and there by the permission to execute everything as root.
56
56
Instead you only grant `ec2-instance-connect:SendSSHPublicKey` permission to a specific instance user e.g. `ec2-user`.
0 commit comments