tokenfile#
Reads the authentication token from the specified file.
This parameter applies to Kubernetes Metadata Module (mmkubernetes).
- Name:
tokenfile
- Scope:
action
- Type:
word
- Default:
none
- Required?:
no
- Introduced:
at least 8.x, possibly earlier
Description#
The file containing the token to use to authenticate to the Kubernetes API server. One of tokenfile or token is required if Kubernetes is configured with access control. Example: /etc/rsyslog.d/mmk8s.token
Action usage#
action(type="mmkubernetes" tokenFile="/etc/rsyslog.d/mmk8s.token")
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–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.