Skip to main content

Retire Bootstrap Admin

POST 

/api/v1/auth/setup/retire-admin

Retire the bootstrap admin: disable it and record the fact in the deploy repo.

The deployment mints the admin password and the engine reissues it whenever the injected value changes, so until it is retired anyone able to write the Secret or .env can issue themselves the admin at the next boot. Retiring ends the reseed: the account stays disabled, the password may be deleted, and breakglass is the recovery path.

The console keeps the bootstrap admin. Retiring it is an operator's policy choice made here. Refused unless the deployment already has an enabled admin-role account of its own -- retire_admin_available on the setup status is the same predicate. Returns the setup status, which now reports admin_retired. Reversal is not an API: remove admin_retired from governance/settings/auth.yaml in the deploy repo and restart.

Responses​

Successful Response