Dev

Private Git documentation sources can now use a token in the UI

MiMa now supports private HTTPS Git sources through a read-only token entered in the source form. The token is not returned by the API, is stored encrypted, cleared after submission, and reset when the URL changes; public repositories remain usable without a token.

MiMa now lets you enter a read-only Git token directly in the documentation source settings. An administrator can provide an HTTPS URL, branch, token and optional login, then save the source and verify the connection. This makes the first setup of private repositories simpler and removes the need to create a separate external credential reference. The token is write-only: it is accepted only in the request, is not returned by the API, and is not displayed again after saving. An empty field keeps the existing credential, a new value replaces it, and a separate action removes the saved access. When the URL changes, the previous token is reset so the secret is not sent to another server. Storage is hardened: private tokens are stored encrypted, with the key kept in the service persistent workspace and required for restoring access. Public HTTPS Git sources remain usable without a token. Legacy external credential references remain API-compatible but are no longer the main interface flow.

← Back to news