Skip to main content

Authenticate with a Bearer authorization header

The Piiano Vault REST API uses API keys to authenticate and authorize requests. It accepts Bearer tokens in the HTTP Authorization header using the Bearer <api-key> scheme.

To enable evaluation and testing, Vault ships with a default API key of pvaultauth for the admin user. See Set the admin's API key for information on how to set a value for this key.

To obtain an API key for any other user, use the regenerate user API key REST API operation or CLI command.

See Manage users and policies to learn more about how Vault controls access to operations and data.