Bootstrapping API keys (Kubernetes)
Once the application starts, an API key will be generated that will be required to authenticate with the Hyperscale Compliance Orchestrator. This key will be found in the logs of the controller service pod. You can use the following command to get the API key:
kubectl logs <controll_service_pod_name> -n <namespace> | grep 'NEWLY GENERATED API KEY'
The above command displays an output similar to the following:
NEWLY GENERATED API KEY: 1.bTYUvuzXgnhS8U7WwYZKyF27egO1B73pJUxyw2fHAxhgVLweMIfB6LOisfA3ZGNI
To authenticate with the Hyperscale Compliance Orchestrator, you must use the API key and include the HTTP Authorization request header with type apk; apk <API Key>
;.
For more information, see the Authentication section under Accessing the Hyperscale Compliance API.
After acquiring the bootstrap API key, you can create a new API key for your convenience. After generating the new API key, you should override the apiKeyCreate
property in the installed helm chart by running the following command.
helm upgrade <release_name> <directory path of the extracted chart> --reuse-values --set apiKeyCreate=false