What’s the Best Way to Secure AWS Access for My Startup?

0
14
Asked By TechieCoder92 On

I'm a backend developer with some AWS experience, primarily using it as a tool until now. I'm working on a startup where I've taken the lead in building our AWS environment, including creating a repository for Infrastructure as Code (IaC) management. Currently, we're using access keys to manage our AWS resources, but I'm concerned about security. Is it really best practice to use the IAM Identity Center with SSO for accessing roles with profiles instead?

5 Answers

Answered By DevOpsWhiz On

If you go with the Identity Center, consider implementing SAML for SSO and using AssumeRoleWithWebIdentity for CI authentication. While tools like Vault can help manage access, they add unnecessary complexity at this stage.

Answered By CloudNinja27 On

You're correct in wanting to ditch access keys—they're risky and can easily be leaked. If you must use them, they should have the least amount of permissions possible. The IAM Identity Center is indeed the right way to go for user access to the CLI or console. For IaC, check best practice resources from AWS or your IaC vendor to see what fits your setup.

Answered By InnovativeDev On

Yes and no! While you can end up using user/password with IAM users or Identity Center users, the main benefit of Identity Center is its integration with identity providers, automatic management of credentials, and scalability for multiple accounts. It's advisable to avoid access keys entirely—use temporary credentials and set up proper IAM roles instead. Also, enable MFA for all users.

Answered By SecurityGuru88 On

Absolutely, you should avoid using access keys whenever possible. Instead, employ the IAM Identity Center for your users. It's a good practice to set up separate accounts for production, QA, development, and sandbox environments. Also, for CI/CD pipelines, use OIDC instead of access keys. Just ensure that your main branch access is tightly controlled.

Answered By CloudArchitect99 On

Definitely check out AWS's Well Architected Framework. It covers best practices for account access and security and is a great resource as you build out your startup's environment.

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.