Expand description
Authentication service — proxies CLI credential exchange to the configured CSM/OCHAMI backend.
The CLI never talks to Keycloak directly; it POSTs username+password
to manta-server /api/v1/auth/token, which calls
backend.get_api_token on the user’s behalf and returns the CSM
bearer token. validate_api_token mirrors the CLI’s pre-Phase-6
token-still-valid check.
Functions§
- get_
api_ token - Exchange
username+passwordfor a CSM bearer token via the site’s configured backend. - validate_
api_ token - Verify that
tokenis still accepted by the site’s backend.