Skip to content

Authenticating to your Vault

Your Vault user account must have API access to send requests to the Vault API. Then, you can authenticate your Vault and make calls to endpoints.

API users should authenticate to Vault API using an active API access token rather than initiating a session with a user name and password. To generate an access token, grant yourself one via the Vault UI from your user profile. While session IDs expire after a period of inactivity, an access token may be valid for up to 90 days depending on the expiration date indicated upon creation.

Access token values always begin with veeva-vault- followed by a randomized string. For example, veeva-vault-B5A79AAD…. The Authorization HTTP header for endpoints within the Vault Platform Postman Collection accepts the accessToken variable saved in your Postman environment, preceded by the Bearer keyword.

AuthenticationAuthentication

Now, you can proceed with setting up a Postman environment, which can store the value of your access token to use for subsequent calls to Vault API.