cloud9:GetUserPublicKey is a Read access-level action in the cloud9 service. Grants permission to get the user's public SSH key, which is used by AWS Cloud9 to connect to SSH development environments
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants cloud9:GetUserPublicKey.
Filters access by the user ARN specified
A minimal policy that allows cloud9:GetUserPublicKey. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCloud9GetUserPublicKey",
"Effect": "Allow",
"Action": "cloud9:GetUserPublicKey",
"Resource": "*"
}
]
}