iam-rs 0.7.0

Complete Rust library for parsing, validating, and evaluating IAM policies. Provider-agnostic authorization engine with full AWS IAM compatibility.
Documentation
{
  "result": "NotApplicable",
  "request": {
    "Principal": {
      "AWS": "arn:aws:iam::123456789012:user/martha"
    },
    "Action": "s3:DeleteBucket",
    "Resource": "arn:aws:s3:::amzn-s3-demo-bucket1",
    "Context": {
      "aws:PrincipalTag/dept": "123"
    }
  },
  "policy": {
    "Version": "2012-10-17",
    "Statement": [
      {
        "Effect": "Allow",
        "Action": "s3:CreateBucket",
        "Resource": "arn:aws:s3:::amzn-s3-demo-bucket1",
        "Condition": {
          "StringEquals": {
            "aws:PrincipalTag/dept": "123"
          }
        }
      }
    ]
  }
}