ssm:GetAccessToken

Read

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

Resource types

ARNs that ssm:GetAccessToken can be scoped to in an IAM policy.

arn:${Partition}:ssm:${Region}:${Account}:opsitem/${ResourceId}
opsitem

Condition keys

Keys you can use in the Condition block of a policy that grants ssm:GetAccessToken.

aws:ResourceTag/${TagKey} String

Filters access by based on a tag key-value pair assigned to the AWS resource

Example IAM policy

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": "*"
    }
  ]
}

Related actions in ssm

View all ssm actions →