Reveal a site's encryption key
Reveal the EMDASH_ENCRYPTION_KEY of a site Fleet created and store it safely.
Reveal the EMDASH_ENCRYPTION_KEY of a site that Fleet created, and store it in a password manager.
Before you start
- You are an Owner or Admin. Revealing a key needs
site_keys:read, which no custom role can hold. - You signed in within the last 30 minutes. An API token cannot reveal a key.
- Fleet generates the key once, when it creates the site, and never rotates it. A linked site has no key held by Fleet.
- EmDash encrypts plugin settings that are secrets, such as an email provider's API key, with this key. Without it those settings cannot be read, and a restored database does not bring it back. See EmDash secrets.
- Backups and database exports never contain the key. Reveal it before you restore a site into a new environment.
Steps
- Open the page of a site that Fleet created.
- Select Reveal encryption key.
- Copy the key into your password manager. Do not paste it into a ticket, a chat or an email.
- When you delete the site, take the final database export first. Then reveal the key from the deletion dialog.
Result
Fleet records each reveal in the audit log with the member and the time. Owners and Admins see these events in the Audit view. See Export activity and audit logs.
The site keeps using the same key.
If something goes wrong
- Reveal encryption key is missing. You are not an Owner or Admin, or the site is linked. Ask an Owner of the account.
- Never send the key to support. Support never asks for a key, a token or a password.