Concept
Credentials
A certificate that the cluster CA signed stays valid until it expires. Only a CA rotation revokes it. So the operator gives the credentials that it publishes a short lifetime, and issues new ones before they expire.
- TTL
spec.credentials.ttl. How long a published credential is valid. The default is 24 hours. The API refuses more than 720 hours (30 days).- credentialsExpireAt
status.credentialsExpireAt. When the first published credential expires. Copy credentials out again before this time.- Reader talosconfig
- With
spec.credentials.readerTalosconfig: true, the operator also publishes<cluster>-talosconfig-readerwith the roleos:reader. Use it to monitor the cluster. - Secrets bundle
- The CAs and tokens of the cluster, in
spec.secretsRef. The operator keeps its own copy,<cluster>-bundle-applied.
- If you make the TTL shorter, the operator replaces older credentials at once.
- If the bundle in
spec.secretsRefchanges, the operator continues with its copy.SecretsBundleHeldis True. - The operator does not rotate CAs. Rotate them with
talosctl. - Delete
<cluster>-bundle-appliedafter the rotation.
Other credentials
Section titled “Other credentials”The BMC account of the operator rotates on its own schedule, see Credential rotation.
In the reference
Section titled “In the reference”- TalosCluster, TalosCluster controller
- Metric
pk_metal_credentials_expiry_timestamp_seconds, see Observability