Authenticating API requests

1 minute read

The CloudBees Previews API provides an endpoint that you can use to search for environments across namespaces. It supports using optional parameters to filter environments. You must authenticate requests by providing the API token that was configured during the chart installation using the value apiserver.auth.apiTokenSecretName or apiserver.auth.apiToken.

Once you have provided the API token, you can use the API to perform the following tasks: