Authentication
Authenticate your account using one of the methods outlined below. The response returns a session ID that you can use in subsequent API calls. Session IDs time out after a period of inactivity, which varies by Vault. Learn more about session duration and management.
After acquiring a Vault Session ID, include it on every subsequent API call inside the Authorization HTTP request header.
Basic Authorization
Section link for Basic Authorization| Name | Description |
|---|---|
Authorization | {sessionId} |
Alternatively, you can use Salesforce or OAuth2/OIDC Delegated Requests.
The Vault API also accepts Vault Session IDs as Bearer tokens. Include Bearer keyword to send Vault Session IDs with as bearer tokens:
Bearer Token Authorization
Section link for Bearer Token Authorization| Name | Description |
|---|---|
Authorization | Bearer {sessionId} |