SSH tunneling

Hi all, I'm deploying a django project with ssh tunneling to connect to a remote database. For this I am using ssh authentication via private/public keys. How can I safely store the private ssh key in the repository to connect to the remote database?
Thanks in advance 😉
my advice would be to store them in a storage bucket like cloudflare r2 and download the key files from the bucket during build
what about security? After all, the keys will be visible in the repository, and packages can probably be intercepted?
you might've misunderstood me, my recommendation was to not store the keys in the repository, but to store them in a private s3 based bucket storage, like cloudflare r2.
you do not want to be storing your keys in your repository itself, private or otherwise
I hear you. Thank you for your reply😀
no problem!

Looking for more? Join the community!

Recommended Posts
PR environments are not being deployed for the project ownerI have created a PR on my repo but I dont see any ephemeral deployment being createdGetting deployment error:11.24 error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`. Tried difEstimated usage very similar to current cost?Is the estimate usage working properly, or does it take a while to provide accurate estimates? I aCloudflare for Saas domains compatible with Railway?Hi! We'd love to use Railway but custom domains are holding us back so far. We use Cloudflare for cuCustom domain with A record (not CNAME record)Hi, I want to add a custom domain in one of my projects. Docs says I need to add a CNAME record in Very slow connectionHey, I've built an app that uses Remix, Prisma and Postgres and is hosted in vercel and railway. LoPostgres sql update query inserting "$1" instead of "?"I have a Postgres server and I runned the query: update "Table_name" set("column_name") = ("Column_nInquiry about Next.js SSR and ISR Support on RailwayHello Railway Community 👋, I'm currently exploring the possibility of migrating my Next.js projectPerformance questionsHi all! Does performance between Hobby and Pro plan differs? I'm mostly curious about initial connHow to specify deployment strategy?Hey, previously i'm a fly io user and I want to migrate to Railway. Is it possible to define the deI do not scroll rightWhen I access log and view it but I do not scroll right to sell full logs. Is it a bug of you?Build failed directus api templateI tried to deploy directus app using railway template (Directus api) and it failed every time. Does Network Error While sending a file.I have uploaded my telegram bot on a Railway Pro plan. The bot sends file back to users through Telego-cron jobs not running in railwayHello, so I'm using the go-cron(https://github.com/go-co-op/gocron) library for managing my cron jobpnpm not foundHi! I'm having trouble building my app, and haven't had success with any of the suggestions with othDo you guys have prepaid options?Say I pay 5$ once and I get to use those 5$ worth of resources all year round. I'd rather do that thChange Heroku to RailwayI need more info because I have a problem with Heroku with my hosted proyect there WebSocket doesnt I am getting this error on my deployment```console GET failed with status code 403 (a proxy could be disallowing the use of 'Upgrade: derp')