Secure Mobile Access 12.4 Administration Guide

Table of Contents

Usage of API Keys to access Management API

Client authenticates API request with custom HTTP header X-API-Key. Each HTTP request must contain either a Authorization header with log in credentials username:password encoded in Base64 or an X-API-key header with a valid API key.

For Example:

  • Authorization: Basic QwxhZGRpbjpvcGVuIHN1c2FtZQ==

  • X-API-Key: 20b1b203-0b41-4ef9-8db7-1117e99dc08c

API Key used in Curl Example:

Client authenticates API request with custom HTTP header X-API-Key

Example:

curl -k -H "X-API-Key:9fc53abb-0041-47eb-afc4-9ed08e23ff2f" https:// x.x.x.x :8443/Console/SSH