Skip to main content

K3s Token

Description

General

  • Documentation: https://docs.k3s.io/cli/token
  • Summary: K3s is a lightweight Kubernetes distribution designed for resource-constrained and edge environments. K3s uses tokens to secure the node join process and to encrypt confidential data stored in the cluster datastore. Tokens authenticate both the cluster to a joining node and the node to the cluster. K3s supports server and agent tokens, which are static credentials, and bootstrap tokens, which are dynamically generated and can expire. Token lifecycle and rotation are managed via the K3s token CLI.

Revoke the secret

Rotate the original server token with a new one using the k3s token rotate command. After rotation, restart all servers and any agents that joined with the old token using the new token.

Note: snapshots taken before rotation require the old server token when restoring.

Details for K3s Token

  • Family: token

  • Category: cloud_provider

  • Company: K3s

  • High recall: True

  • Validity check available: False

  • Analyzer available: False

  • Revoker available: False

  • Occurrences found for one million commits: 0.78

  • Prefixed: True