OIDC vs. Access Keys: What’s the Best Approach for AWS Authentication?

0
36
Asked By TechWizard42 On

I'm looking for advice on the best way to handle authentication for our service users that interact with AWS and Azure. We're currently automating the rotation of access and secret keys for IAM service users, but I'm wondering if there's a better solution available. Specifically, I'm interested in whether I could use Azure Arc and Microsoft Entra ID to configure an OIDC identity provider between AWS and Azure, which would eliminate the need for the long-lived secret keys. I've heard about AWS IAM Anywhere as well. Is there a standard pattern that I should follow for authentication, or am I overthinking this and should just stick with automating key rotation?

5 Answers

Answered By SaaSMaster99 On

Consider checking out IAM Anywhere to ditch those long-lived keys. Many SaaS providers also support IAM Roles for account authentication instead of access keys. Standardizing your authentication is smart, but sometimes different environments might require slightly different setups to function optimally.

Answered By OctopusExpert On

If you're using Octopus Deploy, remember that when you configure IAM Roles, it automatically calls the STS assume role behind the scenes. Also, note that your on-prem setup will need to have access to the public internet for OIDC to work.

Answered By CloudGuru77 On

Using OIDC with AWS STS is definitely a better approach than relying on access keys. It simplifies key management by removing the necessity of key rotation altogether.

Answered By DevOpsNinja On

Roles are your go-to option here. Utilizing AWS roles will address your concern about long-lived keys and make authentication smoother.

Answered By SecureSysPro On

You're on the right path! Having a centralized identity provider is much better than managing credentials locally. It reduces the risk of credentials being mishandled or leaked across your environments.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.