Create a project with a secret
FOO=BAR
to it.Create an identity
Create a Client Secret
Add the identity to the project
Get an access token for the Infisical API
/api/v1/auth/universal-auth/login
endpoint.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 from the aforementioned login operation.Fetch back secret
FOO=BAR
back from Step 1 by including the access token in the previous step in another request to the /api/v3/secrets/raw/{secretName}
endpoint./api/v3/secrets/raw
endpoint.