pulumi / esc

Pulumi ESC (Environments, Secrets, and Configuration) for cloud applications and infrastructure.
https://www.pulumi.com/product/esc/
Apache License 2.0
195 stars 4 forks source link

Provider for Pulumi short-lived access tokens #344

Open automagic opened 1 week ago

automagic commented 1 week ago

Hello!

Issue details

With the upcoming support of short-lived Pulumi access tokens, an ESC provider could be used to generate these tokens for use with Pulumi stacks, command shell environments, applications, automation, CI/CD pipelines, etc. An example use-case could be pulumi privilege escalation or de-escalation controlled by ESC and Team RBAC.

Example:

values:
  pulumi:
      fn::open::pulumi-access-token:
          type: team
          team: foo
          duration: 1h
  environmentVariables:
     PULUMI_ACCESS_TOKEN: ${pulumi.accessToken}

Affected area/feature

ESC Providers

cleverguy25 commented 6 days ago

This is a really interesting idea, we will discuss it in the team for a future provider.