Learn how to authenticate Azure pipelines with Infisical using OpenID Connect (OIDC).
/api/v1/auth/oidc-auth/login
endpoint. If successful,
then Infisical returns a short-lived access token that can be used to make authenticated requests to the Infisical API.
To be more specific:
/api/v1/auth/oidc-auth/login
endpoint.Creating an identity
https://login.microsoftonline.com/{tenant-id}/v2.0
(replace {tenant-id}
with your Azure AD tenant ID).iss
claim that the token must match. For Azure, this should be https://login.microsoftonline.com/{tenant-id}/v2.0
.sub
claim in the JWT.aud
claim.2592000
(30 days)0
= unlimited)0.0.0.0/0
)subject
, audiences
, and claims
fields support glob pattern matching; however, we highly recommend using hardcoded values whenever possible.Adding an identity to a project
Accessing the Infisical API with the identity
7200
seconds which can be adjusted.If an identity access token expires, it can no longer authenticate with the Infisical API. In this case,
a new access token should be obtained by performing another login operation.