ssm:GetAccessToken is a Read access-level action in the ssm service. Grants permission to return a credentials set to be used with just-in-time node access
ARNs that ssm:GetAccessToken can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants ssm:GetAccessToken.
Filters access by based on a tag key-value pair assigned to the AWS resource
A minimal policy that allows ssm:GetAccessToken. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSsmGetAccessToken",
"Effect": "Allow",
"Action": "ssm:GetAccessToken",
"Resource": "*"
}
]
}