From fdf4e5f5cb069dbfbb94704ae9c19adcbdc01c63 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Sun, 16 Apr 2023 16:24:01 -0400 Subject: [PATCH 1/2] add a hint about generating the admin tokens --- docs/guides/self-hosting/v0.3_self_hosting_guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guides/self-hosting/v0.3_self_hosting_guide.md b/docs/guides/self-hosting/v0.3_self_hosting_guide.md index 54031813..b988057b 100644 --- a/docs/guides/self-hosting/v0.3_self_hosting_guide.md +++ b/docs/guides/self-hosting/v0.3_self_hosting_guide.md @@ -50,6 +50,8 @@ Create a controller configuration file in `etc/ctrl.yml`. The controller does no v: 2 admin: + # generate these admin tokens from a source of randomness, e.g. + # LC_ALL=C tr -dc _A-Z-a-z-0-9 < /dev/urandom | head -c32 secrets: - f60b55fa-4dec-4c4a-9244-e3b7d6b9bb13 From 25e7f0d4497ab1218284564640a43387a3906e17 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Sun, 16 Apr 2023 16:33:25 -0400 Subject: [PATCH 2/2] use an arbitrary string instead of uuid to avoid implying that it needs to have a particular format and reduce the confusion that it is a particular value from somewhere else when in fact it is a random value --- docs/guides/self-hosting/v0.3_self_hosting_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/self-hosting/v0.3_self_hosting_guide.md b/docs/guides/self-hosting/v0.3_self_hosting_guide.md index b988057b..7122dd47 100644 --- a/docs/guides/self-hosting/v0.3_self_hosting_guide.md +++ b/docs/guides/self-hosting/v0.3_self_hosting_guide.md @@ -53,7 +53,7 @@ admin: # generate these admin tokens from a source of randomness, e.g. # LC_ALL=C tr -dc _A-Z-a-z-0-9 < /dev/urandom | head -c32 secrets: - - f60b55fa-4dec-4c4a-9244-e3b7d6b9bb13 + - Q8V0LqnNb5wNX9kE1fgQ0H6VlcvJybB1 endpoint: host: 0.0.0.0