title: How do I retrieve the service principal password after creation using the azure cli?
body: <p>When I create a service principal using the <code>az</code> cli tool like such</p>
  
  <pre><code>az ad sp create-for-rbac --name &lt;name&gt;
  </code></pre>
  
  <p>I get all the information printed</p>
  
  <pre><code>{
    "appId": "...",
    "displayName": "...",
    "name": "...",
    "password": "...",
    "tenant": "..."
  }
  </code></pre>
  
  <p>That is all good, but how do I retrieve that information at a later point? Using </p>
  
  <pre><code>az ad sp list --display-name &lt;name&gt;
  </code></pre>
  
  <p>does give me almost what I want, but I'm missing the <code>password</code>. How do I retrieve the password without resetting it?</p>