Operations
Health and Readiness
The dedicated [interface_metrics] listener defaults to 0.0.0.0:8099.
curl http://keystone:8099/health
curl http://keystone:8099/ready
Both endpoints report database, policy-engine, and distributed-storage status.
/ready returns 503 Service Unavailable for degraded components; /health
allows warning states to remain 200 OK.
Metrics and Logging
GET /metrics returns Prometheus text format. Current exported metrics include
audit event/drop counters and dynamic-auth-plugin load failures.
Keystone uses structured logging. Protect logs because request and identity metadata can be sensitive, and never enable logging that records bearer tokens, credentials, or decrypted policy input.
Upgrades
- Back up the database, distributed storage, and key repositories.
- Review configuration and migration changes.
- Apply database migrations with
keystone-manage db sync. - Upgrade one instance at a time where the deployment supports rolling replacement.
- Verify health, readiness, token issuance, token validation, and representative authorized API calls before continuing.
Coordinate Fernet and distributed-encryption key changes separately from binary upgrades. Follow the dedicated Fernet and distributed-storage procedures.
Recovery
Preserve the database, all Fernet and credential key repositories, distributed storage, the configured KEK, and OPA policies. A database backup without its matching encryption material is not sufficient for recovery.