Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a credential management for CI/CD deployment in corporate company #88

Open
geoffroyrenaud opened this issue Apr 18, 2023 · 0 comments

Comments

@geoffroyrenaud
Copy link
Contributor

What is this?

I want to add the capacity to SPA to give temporary credential for sandbox user in order to use automation in CI/CD like Github actions or Gitlab CI

Why is this important?

It is important to easily manage temporary admin credential in CI/CD to avoid credential spreading and to be as near as possible as production best practices

How to implement it?

Create a lambda function to receive a JWT, this lambda should :

  • validate the JWT (based on a well known JWS (RFC https://www.rfc-editor.org/rfc/rfc7800.html ?). We need to be able to use it online but also offline (ex for non publicly exposed CI/CD)
  • use the email to select the correct target AWS account inside Organization
  • return a temporary "admin" creds (AccessKey, SecretKey, SessionToken) in a json format in order to be used by the CI/CD
    Store the JKS for offline purpose in AWS SSM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant