Using IAM roles instead of Users credentials for Serverless framework


Hi Guys,
Please forgive me for asking the same question if it had been asked again.

I am trying to build a pipeline for server-less deployment using server-less framework as the core along with Jenkins and Bitbucket for the orchestration process.

In our organization we use IAM-Roles instead of Users with access key and credentials and i was trying to find how to use that instead of using users with credentials for the server-less framework.
Also we have multiple accounts and we want to be able to do cross account deployment.

Any advice on how to tackle this problem would be highly appreciated.


@wizabhishek IAM roles are given to users so you can just create a IAM user, grant him the role you want and use its credentials.