Interview Prep/AWS/Global Infrastructure and IAM Basics

Name useful IAM condition keys and what they do.

IntermediateConceptGlobal Infrastructure and IAM Basics
Answer
  • aws:SourceIp / aws:SourceVpc / aws:SourceVpce: restrict by network origin.
  • aws:RequestedRegion: limit Regions an action may target.
  • aws:PrincipalOrgID: allow any principal in your Organization.
  • aws:PrincipalTag/* and aws:ResourceTag/*: attribute-based access control.
  • aws:SecureTransport: deny non-TLS requests.
  • aws:MultiFactorAuthPresent, aws:CurrentTime, aws:ViaAWSService.

Note aws:SourceIp is not evaluated sensibly when the call comes via an AWS service on your behalf; combine it with aws:ViaAWSService.

aws All AWS questions Roadmap: AWS core services

More on Global Infrastructure and IAM Basics