diff --git a/docs/usage/self-hosted-configuration.md b/docs/usage/self-hosted-configuration.md
index 66f2f3fc9341deb10c6dc0c27c70b7faf7bf3e71..999d3563b921af6c8ae66f2b374082046f4c46d2 100644
--- a/docs/usage/self-hosted-configuration.md
+++ b/docs/usage/self-hosted-configuration.md
@@ -968,10 +968,14 @@ uid                      Renovate Bot <renovate@whitesourcesoftware.com>
 sub   rsa4096 2021-09-10 [E]
 ```
 
+</details>
 <!-- prettier-ignore -->
+
 !!! note
-    If you use GnuPG `v2.4` (or newer) to generate the key, then you must disable `AEAD` preferences.
-    This is needed to allow  Renovate to decrypt the encrypted values.
+If you use GnuPG `v2.4` (or newer) to generate the key, then you must disable `AEAD` preferences.
+This is needed to allow Renovate to decrypt the encrypted values.
+
+<details><summary>key edit log</summary>
 
 ```bash
 ❯ gpg --edit-key renovate@whitesourcesoftware.com