Home / Keptn v1 Docs / Release 0.8.7 / Reference / Keptn Bridge / Basic Authentication
The Keptn Bridge has a basic authentication feature, which can be controlled by setting the following two environment variables in the deployment of the bridge::
BASIC_AUTH_USERNAME
- usernameBASIC_AUTH_PASSWORD
- passwordBasic authentication is enabled when executing the below command. This command creates a secret with the two variables: BASIC_AUTH_USERNAME
and BASIC_AUTH_PASSWORD
.
keptn configure bridge --user=<USER> --password=<PASSWORD>
Note: Replace <USER>
and <PASSWORD>
with the desired credentials.
Restart the pod of the Keptn Bridge by executing:
kubectl -n keptn delete pods --selector=run=bridge
To disable the basic authentication, delete the secret by executing:
kubectl -n keptn delete secret bridge-credentials
Restart the pod of the Keptn Bridge by executing:
kubectl -n keptn delete pods --selector=app.kubernetes.io/name=bridge