Basic Authentication
Last updated
Last updated
Basic Authentication is currently supported for WarpStream BYOC Schema Registry. When basic authentication is enabled, the WarpStream Agent uses the username/password encoded in the HTTP request's Authorization header to authenticate your Schema Registry clients.
To obtain a username/password to use with your schema registry client, you'll need to create a set of credentials. You can do that by navigating to the "Credentials" view of the WarpStream Console for your schema registry cluster.
You can then click on the "Create Credentials" button and follow the wizard to create the credential. Once a credentical is created, the admin page will display the created username and password. You must store them somewhere safe right away, as you'll never be able to view them again. WarpStream does not store them in plaintext, so we cannot retrieve them for you.
In the case that you lose your credentials, you can create a new set of credentials in the admin console following the same steps as above, up to a limit of 100 credentials.
To enable basic authentication for your Schema Registry Agents, set the schemaRegistryBasicAuth
flag. Alternatively, you can set the environment variable WARPSTREAM_SCHEMA_REGISTRY_BASIC_AUTH_ENABLED
to true.