<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rbac on INFINI Pizza</title><link>https://pizza.rs/tags/rbac/</link><description>Recent content in Rbac on INFINI Pizza</description><generator>Hugo</generator><language>en</language><atom:link href="https://pizza.rs/tags/rbac/index.xml" rel="self" type="application/rss+xml"/><item><title>Security</title><link>https://pizza.rs/docs/administration/security/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://pizza.rs/docs/administration/security/</guid><description>&lt;h1 id="security">
 Security
 &lt;a class="anchor" href="#security">#&lt;/a>
&lt;/h1>
&lt;p>Pizza ships an API-key based authentication and role model for the data
plane and management APIs. It is &lt;strong>off by default&lt;/strong>; the shipped
&lt;code>pizza.yml&lt;/code> enables it.&lt;/p>
&lt;h2 id="enabling-authentication">
 Enabling authentication
 &lt;a class="anchor" href="#enabling-authentication">#&lt;/a>
&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">security&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">auth_enabled&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="kc">true&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="c"># no bootstrap_key here — see below&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>With auth enabled, every data-plane and management request must carry a
valid API key — &lt;code>Authorization: Bearer &amp;lt;key&amp;gt;&lt;/code> or &lt;code>X-Api-Key: &amp;lt;key&amp;gt;&lt;/code>.
Unauthenticated requests are answered with &lt;code>401&lt;/code> and a deliberately
generic body. Anonymous operational-plane reads (console assets,
readiness probes) stay open; mutating &lt;code>/_cluster&lt;/code> and &lt;code>/_node&lt;/code>
management requires a key once auth is on.&lt;/p></description></item></channel></rss>