Learn how to authenticate with the Infisical Public API.
You can authenticate with the Infisical API using Identities paired with authentication modes such as Universal Auth.
To interact with the Infisical API, you will need to obtain an access token. Follow the step by step guide to get an access token via Universal Auth.
FAQ
What happened to the Service Token and API Key authentication modes?
The Service Token and API Key authentication modes are being deprecated out in favor of Identities. We expect to make a deprecation notice in the coming months alongside a larger deprecation initiative planned for Q1/Q2 2024.
With identities, we’re improving significantly over the shortcomings of Service Tokens and API Keys. Amongst many differences, identities provide broader access over the Infisical API, utilizes the same role-based permission system used by users, and comes with ample more configurable security measures.
Why can I not create, read, update, or delete an identity?
There are a few reasons for why this might happen:
Why is the Infisical API rejecting my identity credentials?
There are a few reasons for why this might happen:
/raw
secrets endpoint that requires your project to disable E2EE.