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.
No condition keys are documented for this action.
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": "*"
}
]
}