<p>So, I set up a few secrets in my cluster, but when I want to see them, I get no data response:</p>
<pre><code>a@b:~/ kubectl create secret generic test-sc --username=test --password='tested' 
secret/test-sc created

a@b:~/ kubectl describe secrets/test-sc
Name:         test-sc
Namespace:    default
Labels:       &lt;none&gt;
Annotations:  &lt;none&gt;

Type:  Opaque

Data
====
</code></pre>

jkeeraa
<p>Your secret is not correct.</p>
<p>You are specifying text so you should use <code>--from-literal</code>.</p>
<p>In your example</p>
<p><code>kubectl create secret generic test-sc --from-literal=username=test --from-literal=password='tested'</code></p>
<p>This is explained in the <a href="https://kubernetes.io/docs/concepts/configuration/secret/" rel="nofollow noreferrer">docs</a>.</p>
