infisical-login
The infisical-login provider enables you to log in to Infisical using OpenID Connect or by providing static credentials. The provider will return a set of credentials that can be used to run Infisical CLI commands using the pulumi env run command and also pull in secrets from Infisical using the infisical-secrets provider.
Example
yaml
values:
infisical:
login:
fn::open::infisical-login:
oidc:
identityId: aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
environmentVariables:
# Consumed by the Infisical CLI for authentication
INFISICAL_TOKEN: ${infisical.login.accessToken}Schema reference
Inputs
Outputs
Configuring OIDC
To learn how to configure OpenID Connect (OIDC) between Pulumi Cloud and Infisical, see the OpenID Connect integration documentation.
Static credentials
To use static credentials instead of OIDC, add a new Auth method on your Infisical Identity and select Universal Auth. Create a new client secret, then supply the clientId and clientSecret from Universal Auth as the provider's static credentials.