What is the use of "-client" secret? #77
Replies: 5 comments
-
Hi @joaogbcravo , The "-client" secret contains the private key for the peer. This needs to be saved so that you can retreive the peer secret using
if you try to inspect the bash script generated using You'll notice that it reads that secret. |
Beta Was this translation helpful? Give feedback.
-
Hi @joaogbcravo, I was wrong. I somehow thought we where talking about the *-peer secrets 🤦 Your right. That secret is being created but never gets used 😬 good catch! |
Beta Was this translation helpful? Give feedback.
-
Interesting :D I've added this long time ago to try to generate a peer secret and somehow forgot to remove it |
Beta Was this translation helpful? Give feedback.
-
Are you interested in opening a PR and removing that logic? please feel free to do so :) |
Beta Was this translation helpful? Give feedback.
-
Maybe I'm missing something, but I don't see why the wireguard-operator is creating a "-client" secret.
As far as I see, it is not mounted by any pod, or used as an environment variable.
The creation code of it is
wireguard-operator/pkg/controllers/wireguard_controller.go
Line 698 in e9f3661
Can you clarify, please?
Beta Was this translation helpful? Give feedback.
All reactions