Bootstrap admin credentials and access

This guide walks you through rotating the default administrator password and generating emergency recovery links for administrative access in Charmed Authentik.

Note

For initial deployment, first-time credential retrieval, and accessing the web interface, see the Getting started with Charmed Authentik tutorial.

Rotate the administrator password

After performing your initial login, you should rotate the automatically generated akadmin bootstrap password:

  1. In the Admin Interface dashboard, select your user profile in the top-right corner.

  2. Select User Settings.

  3. Under the Password section, select Change Password.

  4. Enter the current bootstrap password and specify a new secure password.

  5. Select Change Password to commit the update.

Warning

Once you change the password in the Authentik web interface, the password value previously returned by the get-bootstrap-admin-credentials Juju action will be stale.

Security considerations

  • Superuser API Token Exposure: The get-bootstrap-admin-credentials action returns the bootstrap-token in plaintext. This token provides full administrative access via the Authentik REST API.

  • Recovery Link Scope: The create-recovery-link action returns a URL that bypasses all standard authentication stages (including MFA).

  • Action Output Visibility: Juju action results are visible in the Juju controller audit history to anyone with read access to the model.

Next steps