Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Authentication
Infinity datasource supports following authentication methods
- No Authentication
- Basic authentication
- Bearer token authentication
- API Key authentication
- Digest authentication
- OAuth passthrough
- OAuth2 client credentials
- OAuth2 JWT authentication
- Azure authentication
- Azure blob storage key
- AWS authentication
No Authentication
If your APIs doesn’t require any authentication, select No Authentication method.
Basic Authentication
Basic authentication sends a username and password with your request. In the request Headers, the Authorization header will be sent in the Basic <Base64 encoded username and password> format.
Bearer Token Authentication
Bearer token enable requests to authenticate using an access key, such as a JSON Web Token (JWT), personal access token. In the request Headers, the Authorization header will be sent in the Bearer <Your API key> format.
If you need a custom prefix instead of Bearer prefix, use API Key authentication instead with the key of Authorization.
API Key Authentication
With API key authentication, you can send a key-value pair to the API via request header or query parameter. API Key authentication requires following parameters
Most often, users got confused with API key authentication with bearer token authentication. So just double check, you are using the correct auth mechanism.
Digest Authentication
Digest authentication enable requests to authenticate using RFC7616 HTTP Digest Access Authentication protocol.
OAuth Passthrough
If grafana user is already authenticated via OAuth, this authentication method will forward the oauth tokens to the API.
OAuth2 Client Credentials Authentication
OAuth2 Client credentials require the following parameters
OAuth2 JWT Authentication
OAuth2 JWT require the following parameters
Azure Authentication
If you want to authenticate your API endpoints via microsoft azure authentication, refer steps given here.
Azure Blob Storage key
To retrieve content from azure blob storage, you need to provide the following information
- Azure storage account name
- Azure storage account key ( either primary key or secondary key)
AWS Authentication
If you want to authenticate your API endpoints via amazon aws authentication, refer steps given here.



