# How to enable Basic Auth on Schema Registry

**URL:** <https://forum.confluent.io/t/how-to-enable-basic-auth-on-schema-registry/6459>\
**Category:** Schema Registry\
**Created:** [8 November 2022 05:38 UTC](https://forum.confluent.io/t/how-to-enable-basic-auth-on-schema-registry/6459 "2022-11-08T05:38:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jafka](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@jafka](https://forum.confluent.io/u/jafka)\
**Post date:** [8 November 2022 05:38 UTC](https://forum.confluent.io/t/how-to-enable-basic-auth-on-schema-registry/6459/1 "2022-11-08T05:38:34Z")

</div>

Hi,  
I am trying to enable basic auth feature on Schema Registry but getting error that it requires license with Enterprise Support. Is this correct as I am using community edition and that shouldn’t ask for license key.

Please clarify.

Thanks.

---

<div class="post-metadata">

**Author:** ![OneCricketeer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/onecricketeer/32/1551_2.png) [@OneCricketeer](https://forum.confluent.io/u/OneCricketeer)\
**Post date:** [8 November 2022 23:00 UTC](https://forum.confluent.io/t/how-to-enable-basic-auth-on-schema-registry/6459/2 "2022-11-08T23:00:29Z")

</div>

Can you clarify what you are using that requires a license?

[The Basic HTTP Auth does not state it needs it](https://docs.confluent.io/platform/current/schema-registry/security/index.html#migrating-from-http-to-https).

---

<div class="post-metadata">

**Author:** ![jafka](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@jafka](https://forum.confluent.io/u/jafka)\
**Post date:** [9 November 2022 08:24 UTC](https://forum.confluent.io/t/how-to-enable-basic-auth-on-schema-registry/6459/3 "2022-11-09T08:24:56Z")

</div>

I am deploying schema registry as standalone K8S pod connected to Kafka (K8s) pod.  
I followed [Confluent Kubernetes Schema Registry Kind](https://github.com/confluentinc/confluent-kubernetes-examples/tree/master/security/plaintext-basic-auth-ConnectAndSchemaRegistry). This actually helps deploying Schema Registry as a K8S pod and enabled HTTP Basic Auth on it. Though Auth is working with both Kafka cli and consumers but after a month it I got below error which is surprising.

Can you please help?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/3/3e946c3980bddd1b0f1411df1c3413513447f477.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![OneCricketeer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/onecricketeer/32/1551_2.png) [@OneCricketeer](https://forum.confluent.io/u/OneCricketeer)\
**Post date:** [9 November 2022 13:17 UTC](https://forum.confluent.io/t/how-to-enable-basic-auth-on-schema-registry/6459/4 "2022-11-09T13:17:29Z")

</div>

> which is surprising.

How so? [That’s the expected behaviour](https://docs.confluent.io/operator/current/overview.html#licensing).

[As I’ve told before](https://github.com/confluentinc/schema-registry/issues/2379), the settings mentioned in the documentation of the previous link should all be able to be applied directly to a pod that you deploy manually using `image: cp-schema-registry`
