microcks / microcks

The open source, cloud native tool for API Mocking and Testing. Microcks is a Cloud Native Computing Foundation sandbox project 🚀
https://microcks.io
Apache License 2.0
1.33k stars 208 forks source link

Integrate Microcks with AWS IAM #91

Closed dhiemaz closed 3 days ago

dhiemaz commented 5 years ago

I have successfully deploy Microcks on my local laptop, and we have plan to deploy Microcks on AWS. Based on what I check in prequisite Microcks gihub

Pre-requisites NodeJS (version >= 8.0) and associated tools : NPM and ng-cli (npm install -g ng-cli) Java Development Kit (version >= 8) and Apache Maven (version >= 3.0) Keycloak 3.4.0 MongoDB 3.2

that Microcks use Keycloack (https://www.keycloak.org/).

So my question is It possible to change Keycloack IAM in Microcks with AWS IAM ?

Thank you

lbroudoux commented 5 years ago

Maybe @nmasse-itix you could help on this one ? This may just be a Keycloak configuration documentation issue ?

nmasse-itix commented 5 years ago

Hi @dhiemaz,

Microcks is tightly coupled with Keycloak: namely Keycloak is the component that handles authentication and access control on Microcks.

But, do not worry, it's a technical component that should not require administration.

If you are already using AWS IAM, you can configure Keycloak to delegate user authentication to AWS IAM. You can also retrieve user privileges from AWS IAM to set the correct access rights in Microcks.

According to the AWS IAM Documentation, you should be able to setup a SAML federation between AWS IAM and Keycloak. You can also configure Keycloak to bypass the Keycloak login page: this way your users won't have to deal with Keycloak: they will only see the AWS IAM login page.

Let us know if you succeed with this setup !

lbroudoux commented 5 years ago

If it could be of any help, I've found this blog post that describe this configuration.

There's also this part of Keycloak's doc that mention how to configure a default Identity Provider to bypass the login page.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity :sleeping:

It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience :heart: