Skip to content

Disabling the Admin Interface

This guide is a combination of the upstream documentation and how we implemented it.

To start with the deactivation, you must first modify the secret on the host’s shell. Execute the following command:

Terminal window
k3s kubectl patch secret vaultwarden-vaultwardensecret -n ix-vaultwarden --type='json' -p='[{"op": "remove", "path": "/data/ADMIN_TOKEN"}]'

Next, while inside the Vaultwarden container, run the command below to modify the config.json file:

Terminal window
sed -i.bak '/admin_token/d' /data/config.json

Finally, head to the Vaultwarden app’s configuration:

  1. Find and disable the admin interface option (if it is still enabled).
  2. Click “Save” at the bottom to apply the changes.