Skip to content

Basic authentication for application-local.yml #11

Open
@nkzjfuentes

Description

@nkzjfuentes

Hello,

Hope you're well, I'm trying to setup kafka-ui basic authentication, however, I don't really know how to "extrapolate" this from docker compose files or k8s as this is being setup as environment variables.

Setup is being configured in Ubuntu 22.04 (without docker or k8s files, just going through java)
/bin/java -Dspring.config.additional-location=/opt/kafka-ui/application-local.yml --add-opens java.rmi/javax.rmi.ssl=ALL-UNNAMED -jar /opt/kafka-ui/kafka-ui-api-v0.7.2.jar

  AUTH_TYPE: "LOGIN_FORM"
  SPRING_SECURITY_USER_NAME: admin
  SPRING_SECURITY_USER_PASSWORD: pass

Could you please provide a basic working "application-local.yml" working with the mentioned variables so we can have a reference to work with?

Thanks in advance,
Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions