<p>I have been using kops to build the kubernetes cluster which is really easy-to-go tool, however i am unable to find a way-out on how to change the admin password which is auto-generated while the cluster is being created.</p>

Ritesh Vishwakarma
<blockquote>
<p>As it is currently not possible to modify or delete + create secrets of type &quot;Secret&quot; with the CLI you have to modify them directly in the kops s3 bucket.</p>
<p>They are stored /clustername/secrets/ and contain the secret as a base64 encoded string. To change the secret base64 encode it with:</p>
<p><code>echo -n 'MY_SECRET' | base64</code></p>
<p>and replace it in the &quot;Data&quot; field of the file. Verifiy your change with get secrets and perform a rolling update of the cluster</p>
</blockquote>
<p>Seen in <strong>Managing secrets</strong> Kops’s documentation: <a href="https://github.com/kubernetes/kops/blob/master/docs/secrets.md#workaround-for-changing-secrets-with-type-secret" rel="noreferrer">Workaround for changing secrets with type &quot;Secret&quot;</a></p>
