Help setting up a Postgres DB on an existing teleport node #54841
Unanswered
GauthierPLM
asked this question in
Q&A
Replies: 0 comments
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.
-
When setting up my Teleport cluster, I started by adding nodes I want to have access to via SSH. It works pretty well and while I don't yet fully understand how to properly setup access rights, I am able to use tsh to connect to all nodes.
Now, 2 of my nodes have a Postgres DB running in a docker container. I tried to follow the doc, but as mentioned in #37701, it's not as simple as it seems.
What I have done so far
node
anddb
roles./etc/teleport.yaml
on my node to add the new token inteleport.join_params.token
and to add the following config:db_names=*
anddb_users=*
.With this setup, no authentication has been setup yet, so naturally I get an error
Access to db denied. User does not have permissions. Confirm database user and name.
when trying to connect.Questions
How can I grant impersonation rights?
When generating the certificate, can I use localhost as host (instead of a domain)? I assume yes, but prefer to double check since it's never mentioned.
Thank you for reading me and I hope you'll be able to help! 🙏
Beta Was this translation helpful? Give feedback.
All reactions