Learn how to authenticate with Infisical using OCI user accounts.
/api/v1/auth/oci-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:
/20160918/users/{userId}
request using an OCI user’s private key; this is done using the OCI SDK or API./api/v1/auth/oci-auth/login
endpoint.Creating an OCI user
Search for 'Domains' and click as shown
Select domain
Navigate to 'Users'
Click 'Create user'
Create user
Navigate to 'API keys'
Add API key
OCI_API_KEY
. This is not apart of the private key, and should not be included when you use the private key to sign requests.Store configuration
2592000
equivalent to 30 days): The lifetime for an access token in seconds. This value will be referenced at renewal time.2592000
equivalent to 30 days): The maximum lifetime for an access token in seconds. This value will be referenced at renewal time.0
): The maximum number of times that an access token can be used; a value of 0
implies an infinite number of uses.0.0.0.0/0
, allowing usage from any network address./api/v1/auth/oci-auth/login
endpoint passing the signed header data and user OCID.
Below is an example of how you can authenticate with Infisical using the oci-sdk
for NodeJS.
7200
seconds, which can be adjusted.If an identity access token expires, it can no longer access the Infisical API. A new access token should be obtained by performing another login operation.