.. _Basic Auth: Basic Authentication ===================== .. contents:: :local: To enable basic authentication for BLACKDAGGER, follow these steps: #. Set the environment variables to configure basic authentication: .. code-block:: bash export BLACKDAGGER_IS_BASICAUTH=1 export BLACKDAGGER_BASICAUTH_USERNAME="" export BLACKDAGGER_BASICAUTH_PASSWORD="" Replace ```` and ```` with your desired username and password. #. Alternatively, create a ``config.yaml`` file in the ``$BLACKDAGGER_HOME`` directory (default: ``$HOME/.config/blackdagger``) to override the default configuration values. .. code-block:: yaml # Basic Auth isBasicAuth: true basicAuthUsername: "" basicAuthPassword: "" #. You can enable HTTPS by configuring the following environment variables: .. code-block:: bash export BLACKDAGGER_CERT_FILE="" export BLACKDAGGER_KEY_FILE="" Replace ```` and ```` with the paths to your certificate and key files. See :ref:`Configuration Options` for more information on the configuration file.