<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vault on Simon Shine</title><link>https://simonshine.dk/tags/vault/</link><description>Recent content in Vault on Simon Shine</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 21 Oct 2026 13:04:12 +0200</lastBuildDate><atom:link href="https://simonshine.dk/tags/vault/index.xml" rel="self" type="application/rss+xml"/><item><title>A Vault Job</title><link>https://simonshine.dk/articles/a-vault-job/</link><pubDate>Wed, 21 Oct 2026 13:04:12 +0200</pubDate><guid>https://simonshine.dk/articles/a-vault-job/</guid><description>&lt;p&gt;When deploying software services, they usually link to other services using long-lived static
credentials (API keys or passwords). For example, a web application and its database, or an LLM
provider access token. When the service supports it, those long-lived static credentials can be
replaced with short-lived tokens obtained through OIDC-based workload identity federation, with
access controlled by RBAC.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve been tinkering a lot with OIDC and RBAC recently because I&amp;rsquo;m handing over responsibility that
can&amp;rsquo;t be tied to my identity. But before I get there with everything that I run, here&amp;rsquo;s a writeup of
what I&amp;rsquo;ve been doing in the past year with long-lived static credentials that makes secrets rotation
possible.&lt;/p&gt;</description></item><item><title>Managing Secrets privately with sops-nix</title><link>https://simonshine.dk/articles/managing-secrets-privately-with-sops-nix/</link><pubDate>Fri, 15 May 2026 02:37:41 +0200</pubDate><guid>https://simonshine.dk/articles/managing-secrets-privately-with-sops-nix/</guid><description>&lt;h2 id="tldr"&gt;
 tl;dr
 &lt;a class="heading-anchor" href="#tldr" aria-label="Link to this section"&gt;&amp;para;&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;I want to commit my secrets encrypted to git with &lt;a href="https://github.com/Mic92/sops-nix"&gt;sops-nix&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;I want to publish my infra-as-code, but don&amp;rsquo;t want to publish my git secrets&lt;/li&gt;
&lt;li&gt;So I put my secrets in a private &lt;code&gt;git+file&lt;/code&gt; flake input&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="motivation"&gt;
 Motivation
 &lt;a class="heading-anchor" href="#motivation" aria-label="Link to this section"&gt;&amp;para;&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;I run Kubernetes clusters managed declaratively with &lt;a href="https://www.talos.dev/"&gt;Talos Linux&lt;/a&gt; and &lt;a href="https://github.com/hall/kubenix"&gt;kubenix&lt;/a&gt;. I want to publish the entire repository that defines the cluster. It includes commands that require authentication (&lt;code&gt;kubectl&lt;/code&gt;, &lt;code&gt;talosctl&lt;/code&gt;, &lt;code&gt;hcloud&lt;/code&gt;, etc.) that don&amp;rsquo;t work without their secrets.&lt;/p&gt;</description></item></channel></rss>