- StreamNative Console
Enable StreamNative Console OpenAPI
The StreamNative Console supports to expose OpenAPI for users to integrate, this document will guide you how to enable the OpenAPI on the StreamNative Console and the way to access.
Prerequisites
sn-platformchart: 1.10.7 or higherstreamnative/private-cloud-consoleimage: v2.3.1 or higher
Enable OpenAPI
Create a super service account on the StreamNative Console Service Account page, and get the token from this super service account.
Set the Helm values
streamnative_console.configData.OPENAPI_ENABLEDtotrueand usehelm upgradeto upgrade your Helm values.
streamnative_console:
configData:
OPENAPI_ENABLED: true
Use the
kubectl port-forwardorkubectl exposecommands to expose thestreamnative-consolepod, and the OpenAPI Swagger address will behttp://<Your External IP>:9527/swagger-ui/index.htmlAccess to the Swagger page and click
Authorizeto input the token you got from the step1. Then you will have the permission to use the StreamNative Console OpenAPI.