---
title: "Comment by Sever Popa on \"Creating a CyberArk (now Idira) Central Policy Manager plugin for an API using WSChains\" | Hashnode"
description: "Hi Tim. Quick question: where you able to use also Basic Auth in the Authorization header and not just Bearer Auth? It should be: Basic username:password Howeve"
url: "https://hashnode.com/posts/creating-a-cyberark-central-policy-manager-plugin-for-an-api-using-wschains/66acfdbcd96a06d12f6f4394/comment/6ac4df499ea714abe48e7bb2"
---

[Discussion](https://hashnode.com/posts/creating-a-cyberark-central-policy-manager-plugin-for-an-api-using-wschains/66acfdbcd96a06d12f6f4394)

Comment [Creating a CyberArk (now Idira) Central Policy Manager plugin for an API using WSChains](https://hashnode.com/posts/creating-a-cyberark-central-policy-manager-plugin-for-an-api-using-wschains/66acfdbcd96a06d12f6f4394)

[Sever Popa](https://hashnode.com/@vectors)

[Oct 6](https://hashnode.com/posts/creating-a-cyberark-central-policy-manager-plugin-for-an-api-using-wschains/66acfdbcd96a06d12f6f4394/comment/6ac4df499ea714abe48e7bb2)

Hi Tim.

Quick question: where you able to use also Basic Auth in the Authorization header and not just Bearer Auth? It should be: Basic username:password However username:password should already be a string base64encoded. How to build/declare that Authentication string before or directly in the Authorization header? Thanks...
