pulumi / esc

Pulumi ESC is a centralized, secure service for environments, secrets, and configuration management, optimized for multi-cloud infrastructures and applications.
https://www.pulumi.com/product/esc/
Apache License 2.0
222 stars 9 forks source link

Add OIDC support to Authenticate Workloads for ESC #402

Open dirien opened 1 month ago

dirien commented 1 month ago

Hello!

Currently, when using for example the ESC SDK you need to provide the PAT to your program to connect to your different environments. This is fine for most scenarios.

But there is always the risk to accidentally leak the PAT giving a potential malicious actor access to a whole lot of environments.

What would be really awesome, would be to have an additional way to authentiacte, in form of OIDC and workload identity. Similar Vault or infisical is doing!

Extending then the SDKs to handle the authentication process including the fetching of identity tokens for the user.

thoward commented 1 month ago

See additional discussion on motivation for this issue here: https://github.com/pulumi/docs/pull/13054#pullrequestreview-2357840996