Documentation
¶
Overview ¶
Package randval generates random secret values used across kubeaid-cli — alphanumeric passwords for OIDC client secrets and Keycloak admin credentials, plus base64-encoded byte keys for symmetric crypto (e.g. NetBird's datastoreEncryptionKey).
Used by the secrets-fill path that auto-populates blank fields in the operator's secrets.yaml on first run, so SealedSecrets render with stable plaintext across re-runs.
Index ¶
Constants ¶
View Source
const (
PasswordLength = 32
)
passwordAlphabet keeps generated passwords shell- / YAML- / kubectl-safe. 32 chars from this alphabet gives ~190 bits of entropy — well past the 128-bit threshold that justifies storing the value rather than rotating it on every use.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.