-
Notifications
You must be signed in to change notification settings - Fork 5
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
Provisioning token to the workload #7
Comments
I mostly agree with this. Although In theory it is also possible to rotate Environment Variables.
@edoardogiordano wdyt? |
Hi @b3n3d17, sorry for the late response. Regarding the environmental variables, my point is that it can often happen that people print the env at the start of the program to show how the program was launched, or if a problem happens to help with the debugging. If you don't think this is anymore the case we can just remove it. For the last two point thanks for the references. I'll include them while preparing the pr. Thanks. |
Resolved with #16 |
Following the discussion on the mailing list, I wanted to give my take on the different options to provision the workload with the token. Maybe we can use it to start the discussion before starting the PR.
Identity provision mechanisms:
Current workload systems mainly rely on three solution to provide the Identity to a running workload:
ENV variables should be used with short-live credentials, when simplicity is a requirement.
The main advantages of this approach, with respect to the previous one, is in a better access control of the resource and the possibility to rotate the credentials without the need to restart the container. This solution fits well when multiple different process in the container need to access the credential's file.
Nevertheless, there are also some drawback in using this solution:
This approach should be preferred in conjunction with side-cars/agents and centrally managed identities solutions for application that requires dynamic credentials.
The text was updated successfully, but these errors were encountered: