# token

Specifies the authentication token string.

This parameter applies to Kubernetes Metadata Module (mmkubernetes).

Name:

  token

Scope:

  action

Type:

  word

Default:

  none

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

The token to use to authenticate to the Kubernetes API server. One of token or tokenfile is required if Kubernetes is configured with access control. Example: UxMU46ptoEWOSqLNa1bFmH

## Action usage

    action(type="mmkubernetes" token="UxMU46ptoEWOSqLNa1bFmH")

## See also

See also Kubernetes Metadata Module (mmkubernetes).

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.