WeSearch

Storing Kamal secrets in AWS Secrets Manager and deploying to a cheap Hetzner VPS

·4 min read · 0 reactions · 0 comments · 9 views
#devops#security#cloud
Storing Kamal secrets in AWS Secrets Manager and deploying to a cheap Hetzner VPS
⚡ TL;DR · AI summary

The article discusses how to securely store API keys using AWS Secrets Manager while deploying applications with Kamal on a Hetzner VPS. It highlights the importance of avoiding plaintext secrets for compliance with regulations like SOC 2 and GDPR. The author provides a step-by-step guide for setting up the necessary configurations and permissions.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 375077) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Derrick Amenuve Posted on May 23 Storing Kamal secrets in AWS Secrets Manager and deploying to a cheap Hetzner VPS #rails #kamal #devops #deployment I ran into a problem with Kamal. My .kamal/secrets file was full of API keys sitting in plaintext on my laptop. Anyone with access could read them all. TLDR; Use Kamal with AWS Secrets Manager and deploy to a Hetzner VPS. No plaintext secrets, cheap hosting, compliance happy. The problem Kamal is great for deploying apps.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)