Hi folks, I’m wondering if I can get some help with setting Kubernetes Auth from EKS to HCP Vault? I keep getting {"errors":["permission denied"]} and I feel like I’ve tried just about everything. Any help would be appreciated!
The sources I’m following are below. I’ve set up service accounts and ran both commands below. At this point I’m really not sure what it could be. Do spaces/new lines affect the cert? Any help would be appreciated!
Are you aware that each of those commands is redundant with the other? Both of them overwrite the current configuration, so whichever is run last, sticks.
This looks wrong. It would be very easy to accidentally include a newline on the end of your hostname, and thereby break the communication between Vault and the Kubernetes API server, setting it that way.
Newlines are expected in a certificate, and I guess they might be tolerated at the end of a JWT (maybe), but there definitely shouldn’t be a newline at the end of a hostname.
@maxb , thanks for the reply. Ya, what I meant was that I tried it with and without disable_iss_validation="true" issuer=@issuer.txt and it didn’t work.
For the hostname, I double checked and tried it as a normal string and also didn’t work.