Skip to content

Commit f79c609

Browse files
DOC-315: Cross-link service-specific IAM condition keys
Add a "Service-Specific Condition Keys" section to the IAM Coverage page linking out to the EC2 and RAM service docs, and link the existing global condition keys to AWS's reference page. Addresses review feedback from Viren on PR #812.
1 parent 735579b commit f79c609

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/content/docs/aws/developer-tools/security-testing/iam-coverage.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ It only includes operations performed with a principal, not as root, so test set
152152
| | - StringEqualsIgnoreCase |
153153
| | - StringLike |
154154
| | - ArnLike/ArnEquals |
155-
| | Supported condition keys: |
155+
| | Supported [global condition keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html): |
156156
| | - aws:RequestedRegion |
157157
| | - aws:PrincipalArn |
158158
| | - aws:SourceArn |
@@ -161,6 +161,12 @@ It only includes operations performed with a principal, not as root, so test set
161161
| | - aws:RequestTag |
162162
| | - aws:PrincipalTag |
163163

164+
## Service-Specific Condition Keys
165+
166+
In addition to the global condition keys above, some services support their own condition keys, matching AWS's [per-service condition key reference](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html):
167+
168+
- [EC2](/aws/services/ec2/#iam-condition-keys): `ec2:MetadataHttpTokens`, `ec2:Attribute/<AttributeName>`
169+
- [RAM](/aws/services/ram/#iam-condition-keys): `ram:RequestedAllowsExternalPrincipals`
164170

165171
## Current Limitations
166172

0 commit comments

Comments
 (0)