Spring Boot + AWS Roles Anywhere: Integration

Karanbir Singh
5 min readOct 25, 2024

AWS roles anywhere is an awesome IAM service particularly for the apps which are non AWS, or for apps that are complex in nature(even if deployed on AWS) where role based access is not available directly in an easy option.

If not a medium member, try using the link here to view post for free.

Please follow and like the post, if it has helped you by any way.

Continuing from the previous post about AWS roles anywhere here, this post focuses majorly on the programmatic access credential generation based on AWS roles anywhere, without the need of external utility of credential helper. There had been ample amount of community posts and forums online with similar needs which I intend to address here.

Required Knowledge

➫ AWS Basics, AWS IAM most importantly
➫ AWS roles anywhere some knowledge
➫ Must have knowledge on PKI — needed for certificate generation etc.
➫ Average knowledge on Spring & Spring Boot + Java.
➫ Local setup of any IDE along with Maven + JDK 17+.
➫ Setup of openssl or something like step cli.

Out of Scope

--

--

Karanbir Singh
Karanbir Singh

Written by Karanbir Singh

API developer + Web Application developer + Devops Engineer = Full Stack Developer

No responses yet