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
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
Reference schemas last updated on 2026-07-11, synced automatically from the Pulumi Cloud ESC API.
Inputs
oidcobject optionalOptions for temporary OIDC credentials.- ↳
identityIdstring requiredThe identity id to use. - ↳
subjectAttributesarray[string] optionalThe attributes used to issue the oidc token subject. siteUrlstring optionalThe site url to use.staticobject optionalOptions for static credentials.- ↳
clientIdstring requiredThe client id to use. - ↳
clientSecretstring requiredThe client secret to use.
Outputs
accessTokenstring requiredThe access token to use for authentication.siteUrlstring optionalThe site url to use.
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.