Upgrade to Pro — share decks privately, control downloads, hide ads and more …

That's allowed? - Using IAM Roles Anywhere with...

That's allowed? - Using IAM Roles Anywhere without AWS Private CA

Secure authentication of your humans and machines is a challenge every organization faces, especially if your proof of identity is not already in AWS. In this session, we'll talk you through multiple ways to set up or use existing PKI - such as Belgium's eID or a hardware key - to securely access AWS with phishing resistant authentication built using IAM Roles Anywhere. This will include live demos and code samples. By the end of the session we will stop worrying about plain text credential storage because we can use trusted hardware instead.

Avatar for Ben Bridts

Ben Bridts

May 27, 2026

More Decks by Ben Bridts

Other Decks in Technology

Transcript

  1. © 2026, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved. D E V 4 0 1 Ben Bridts That's allowed? - Using IAM Roles Anywhere without AWS Private CA He/him AWS Hero
  2. IAM Roles Anywhere Server IAM Roles Anywhere AWS STS Trust

    Anchor Certificate + Signature Role 1 2 3
  3. IAM Roles Anywhere Server IAM Roles Anywhere AWS STS Temporary

    security credential Trust Anchor Certificate + Signature Role 1 2 3 4
  4. IAM Roles Anywhere Server IAM Roles Anywhere AWS STS Temporary

    security credential Trust Anchor Certificate + Signature Role 1 2 3 4 AWS Managed My Code
  5. Server IAM Roles Anywhere AWS STS Temporary security credential Trust

    Anchor Certificate + Signature Role 1 2 3 4 AWS Managed My Code
  6. Server IAM Roles Anywhere AWS STS Temporary security credential Trust

    Anchor Certificate + Signature Role 1 2 3 4
  7. Server IAM Roles Anywhere AWS STS Temporary security credential Trust

    Anchor Certificate + Signature Role 1 2 3 4 AWS Managed My Code BE Managed
  8. Server IAM Roles Anywhere AWS STS Temporary security credential Trust

    Anchor Certificate + Signature Role 1 2 3 4 AWS Managed My Code BE Managed
  9. Server IAM Roles Anywhere AWS STS Temporary security credential Trust

    Anchor Certificate + Signature Role 1 2 3 4 AWS Managed My Code BE Managed
  10. 4. HTTP Request Authorization: AWS4-HMAC-SHA256 Credential=AKIAI…/20250522/eu-west-1/s3/aws4_request, SignedHeaders=…,Signature=$Signature Authorization: AWS4-RSA-SHA256 Credential=$Serial/20250522/eu-west-1/rolesanywhere/aws4_request,

    SignedHeaders=…,Signature=$Signature Authorization: AWS4-ECDSA-SHA256 Credential=$Serial/20250522/eu-west-1/rolesanywhere/aws4_request, SignedHeaders=…,Signature=$Signature
  11. Some problems • Using a pkcs11 library on MacOS •

    Not needed with `cert-selector` • Limited information in the certificate • PIN code • Caching or serve command
  12. Actual Useful ways to use IAMRA Getting "free" CAs •

    Existing PKI • Let's encrypt Getting better key storage • Trusted Platform Modules • Hardware keys
  13. Further reading • https://aws.amazon.com/blogs/security/planning-for-your-iam-roles-anywhere- deployment/ • https://aws.amazon.com/blogs/security/connect-your-on-premises-kubernetes- cluster-to-aws-apis-using-iam-roles-anywhere/ • https://www.new23d.com/iam-roles-anywhere-now-for-everyone-with-lets-

    encrypt/ • https://cloudar.be/awsblog/sign-in-with-your-eid-using-aws-iam-roles-anywhere- with-a-smartcard-reader/ • https://github.com/aws/rolesanywhere-credential-helper • https://github.com/WeAreCloudar/cloudformation- samples/tree/main/templates/roles-anywhere-eid • https://learn.microsoft.com/en-us/intune/fundamentals/certificates/overview