Skip to content

Commit 71f71c6

Browse files
authored
Merge pull request #7104 from EnterpriseDB/UPM-81611-fix-fernet-key-generation
2 parents f563e2f + ebf84f2 commit 71f71c6

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

product_docs/docs/edb-postgres-ai/1.2/hybrid-manager/ai-factory/enabling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you haven't already generated a Fernet key, you will need to do this to enabl
1313
If you used any of the EDB Postgres AI Hybrid Manager `-install-secrets.sh` scripts to set up your environment, you may already have a Fernet key generated. If not, you can generate one using the following command in your terminal. Ensure you have `kubectl` configured to point to your EDB Postgres AI Hybrid Manager cluster:
1414

1515
```bash
16-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
16+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
1717

1818
kubectl create namespace upm-griptape
1919

product_docs/docs/edb-postgres-ai/1.2/hybrid-manager/install/customization/genai_secret.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For EKS installations using the `eks-install-secrets.sh` script, you can skip ke
1515
1. Create a Fernet key and store it in a variable:
1616

1717
```shell
18-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
18+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
1919
```
2020

2121
!!!note

product_docs/docs/edb-postgres-ai/1.2/hybrid-manager/install/eks/installing/assets-helm/eks-install-secrets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ kubectl annotate secret -n upm-replicator edb-cred replicator.v1.mittwald.de/rep
3131

3232
kubectl create namespace upm-griptape
3333

34-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
34+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
3535

3636
kubectl apply -f - <<EOF
3737
apiVersion: v1

product_docs/docs/edb-postgres-ai/1.2/hybrid-manager/install/eks/installing/assets-op/eks-install-secrets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ kubectl annotate secret -n upm-replicator edb-cred replicator.v1.mittwald.de/rep
3131

3232
kubectl create namespace upm-griptape
3333

34-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
34+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
3535

3636
kubectl apply -f - <<EOF
3737
apiVersion: v1

product_docs/docs/edb-postgres-ai/1.2/hybrid-manager/install/gcp/prerequisites/gcpcluster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Both namespaces and secrets are used in the install process.
251251

252252
```bash
253253
PG_CONFOUNDING_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
254-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
254+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
255255
```
256256

257257
1. Create the required namespaces:

product_docs/docs/edb-postgres-ai/1.3/hybrid-manager/ai-factory/how-to-enable-ai-factory.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you ran one of the `-install-secrets.sh` scripts during Hybrid Manager setup,
2020
If not, generate it manually with the following commands (requires `kubectl` configured for your HM cluster):
2121

2222
```bash
23-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
23+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
2424

2525
kubectl create namespace upm-griptape
2626

product_docs/docs/edb-postgres-ai/1.3/hybrid-manager/install/configuration/genai_secret.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For EKS installations using the `eks-install-secrets.sh` script, you can skip ke
1717
1. Create a Fernet key and store it in a variable:
1818

1919
```shell
20-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
20+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
2121
```
2222

2323
!!!note

product_docs/docs/edb-postgres-ai/preview/hybrid-manager/ai-factory/how-to-enable-ai-factory.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you ran one of the `-install-secrets.sh` scripts during Hybrid Manager setup,
2020
If not, generate it manually with the following commands (requires `kubectl` configured for your HM cluster):
2121

2222
```bash
23-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
23+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
2424

2525
kubectl create namespace upm-griptape
2626

product_docs/docs/edb-postgres-ai/preview/hybrid-manager/install/configuration/genai_secret.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For EKS installations using the `eks-install-secrets.sh` script, you can skip ke
2121
1. Create a Fernet key and store it in a variable:
2222

2323
```shell
24-
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
24+
FERNET_KEY=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr '+/' '-_')
2525
```
2626

2727
!!!note

product_docs/docs/edb-postgres-ai/preview/hybrid-manager/using_hybrid_manager/upgrading_hm/2025.11_to_2025.12.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This release introduces new authentication secrets, updates the Data Migration S
3131
**Before** installing the 2025.12 chart, you must manually create the `dex-fernet-key`.
3232

3333
```bash
34-
FERNET_KEY=$(head -c 32 /dev/urandom | base64)
34+
FERNET_KEY=$(head -c 32 /dev/urandom | base64 | tr '+/' '-_')
3535

3636
kubectl create secret generic dex-fernet-key \
3737
--from-literal=fernet-key="$FERNET_KEY" \

0 commit comments

Comments
 (0)