This repository was archived by the owner on Dec 3, 2025. It is now read-only.
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. |
0 replies
|
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! |
0 replies
|
Interesting :D I've added this long time ago to try to generate a peer secret and somehow forgot to remove it |
0 replies
|
Are you interested in opening a PR and removing that logic? please feel free to do so :) |
0 replies
|
fixed |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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 https://github.com/jodevsa/wireguard-operator/blob/e9f36614de6b3f1bac5acb2655d48882ea40fd2c/pkg/controllers/wireguard_controller.go#L698
Can you clarify, please?
All reactions