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

Provider for Pulumi short-lived access tokens #344

Open automagic opened 5 months ago

automagic commented 5 months 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 5 months ago

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