token authentication strategy allows a user to login to Kiali using the
token of a Kubernetes ServiceAccount. This is similar to the
login view of Kubernetes Dashboard.
token strategy takes advantage of the cluster’s RBAC. See the Role-based access control documentation
for more details.
token is the default strategy when deploying Kiali in Kubernetes, you
shouldn’t need to configure anything, unless your cluster is OpenShift. If you
want to be verbose or if you need to enable the
token strategy in OpenShift,
use the following configuration in the Kiali CR:
spec: auth: strategy: token
token strategy doesn’t have any additional configuration other than the
session expiration time.