Document toolboxDocument toolbox

Using Basic Authentication

Infoblox Platform supports basic HTTP authentication for REST APIs, which allows using authentication credentials in the form of an Infoblox Portal API key in the authorization header of an HTTP API. Replacing the username and password with the API key makes basic authentication more secure.

Basic authentication requires a username and a password. Infoblox simplifies the process by using a standardized username (apikey) Therefore, to use basic authentication, all you need to obtain is a valid secure API key.

Username: apikey

Password: <secure API key>

For instructions on obtaining a secure service API key or a user API key via the Cloud Services Portal, see Creating Service API Keys and Creating User API Keys.

Restrictions for Basic Authentication

Before using basic authentication, review and understand the following restrictions:

  • You cannot use basic authentication for the following:

    • User sign-in

    • Switching user accounts

    • Creating customer support sessions

  • Legacy API keys are not supported. You must create a secure API key.

  • Only service accounts and interactive users are allowed for basic authentication.

Basic Authentication Example

To use basic authentication, pass the username and password in the URL of your API request. The following is an example:

curl --location --request GET 'https://apikey:<secure api key>@csp.infoblox.com'

 

 

 

 

Â