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

Using IAM Roles Anywhere for free

Avatar for Ben Bridts Ben Bridts
September 24, 2025

Using IAM Roles Anywhere for free

IAM Roles Anywhere is a great way to get temporary security credentials on on-premises, or mulit-cloud or edge devices. However the complexity of managing your own PKI or the cost of using an AWS Private CA might have stopped you from seriously considering it. In this session we will look at how IAM Roles anywhere works and why that means we can use low-cost solutions like a yubikey for authentication. Just for fun we’ll even use a Belgian Identity Card to access our AWS Account.

Delivered at AWS Community Day Utrecht 2025

Avatar for Ben Bridts

Ben Bridts

September 24, 2025
Tweet

More Decks by Ben Bridts

Other Decks in Technology

Transcript

  1. IAM Roles Anywhere Server IAM Roles Anywhere AWS STS Trust

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

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

    Anchor Certificate + Signature Role 1 2 3 4
  4. Some problems • Finding the right pkcs11 library on MacOS

    • Limited information in the certificate • PIN code • Caching or serve command
  5. Actual Useful ways to use IAMRA Getting "free" CAs •

    Exiting PKI • Hardware keys with attestation • Let's encrypt Getting better key storage • Trusted Platform Modules • Hardware keys
  6. 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://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