title: Getting pem file uploaded in Azure Key Vault Keys
body: <p>I have uploaded  a <code>pem</code> file to <code>Azure Key Vault Keys</code> via  azure portal and tried below  function to get the data using <code>"azure-keyvault": "^3.0.0-preview",</code></p>
  
  <pre><code>client.getKey(vaultUri, keyName, keyVersion,  {maxresults : 10}, function(err, result)  {
      if (err) throw err;
  
      console.log(result,'-----------key-');   
  })
  </code></pre>
  
  <h3>result</h3>
  
  <pre><code>{ key:
      { 
       kid: 'https://test.vault.azure.net/keys/test/1123123123lksldkf',
       kty: 'RSA',
       keyOps: [ 'sign', 'verify', 'wrapKey', 'unwrapKey', 'encrypt', 'decrypt' ],
       n: &lt;Buffer  ... &gt;,
       e: &lt;Buffer &gt; 
      },
      attributes: { enabled: true,
       created: 2016-02-09T08:48:27.000Z,
       updated: 2016-02-09T08:48:27.000Z,
       recoveryLevel: 'Purgeable'
      } 
  } 
  </code></pre>
  
  <p>How can i download the <code>pem</code> file from the <code>result</code> ,  any help is much appreciated. I'm pretty much new to azure vault  and trying out few things with <code>keys, secrets and certificates</code>. </p>