Back to Browse

htpasswd user setup on OpenShift

596 views
Oct 18, 2024
36:18

Create users in OpenShift ----------------------------------------- https://docs.openshift.com/container-platform/4.16/authentication/identity_providers/configuring-htpasswd-identity-provider.html htpasswd -c -b -B /etc/origin/master/htpasswd new-user new-password oc create secret generic htpasswd-secret --from-file=htpasswd=/etc/origin/master/htpasswd -n openshift-config oc edit oauth cluster spec: identityProviders: - name: my_htpasswd_provider mappingMethod: claim type: HTPasswd htpasswd: fileData: name: htpasswd-secret oc get po -n openshift-authentication # to validate the changes applied in oauth cluster resource oc login https://your-cluster-api:6443 -u username -p password oc extract secret/htpasswd-secret -n openshift-config --to ./ --confirm oc set data secret/htpasswd-secret -n openshift-config --from-file ./htpasswd oc get po -n openshift-authentication -w openshift htpasswd openshift htpasswd openshift user openshift user account openshift create user user on openshift openshift 4 creating users on openshift create user on openshift create user on openshift 4 creating a user on openshift htpasswd identity provider in openshift htpasswd identity provider in openshift 4 configure htpasswd identity provider in openshift configuring htpasswd identity provider in openshift users from an openshift #openshift #openshift #openshiftusers

Download

1 formats

Video Formats

360pmp459.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

htpasswd user setup on OpenShift | NatokHD