Query Lite API Key
Accessing Query Lite API service requires an API Key. This API Key is issued for each tenant and landscape pair for each environment. The script to generate API Key is implemented as a patch (21.06.002).
The script to generate API Key requires 3 environment variables to be set as shown in the following example:
export ENVIRONMENT_NAME=eva
export TENANT_NAME=accsy
export LANDSCAPE_NAME=eval
Once these environment variables are set (and the AWS credentials are set), you can simply execute the script as such:
python3 main.py
After the script is successfully executed, you can get the API Key from AWS console:
API Gateway > API > wap-audit-api-gateway-{env}
> API Keys (Left Sidebar Menu) > {tenant}-{landscape} API Key for {env}
> API Key Show
For generating the API Key in production environments, ask BAP SRE to execute the patch with the appropriate environment variables as described in the previous section.