OpenShift Authentication & Authorization, htpasswd (OpenShift Administration Part-4) RedHat Ex280

OpenShift Users and Groups
- User
- Service Account
- Group
- Role
OpenShift Identity Providers (OpenShift OAuth server)
- HTPasswd
- OpenStack Keystone
- LDAP
- GitHub or GitHub Enterprise
- OpenID Connect
Lab: Create users 'admin' and 'developer' and assign role
** If new to Docker, Podman, Kubernetes and Openshift then first see -- kzread.info/head/PLnFCwVWiQz4kASpMbCXRmAu6nKtPOBE4Q
** For detail about OpenShift development --
kzread.info/head/PLnFCwVWiQz4lrK7s1S409fsfm59qdFVOX
commands--
htpasswd -c -B -b htpasswd-file admin redhat
htpasswd -b htpasswd-file developer developer
oc create secret generic localusers --from-file htpasswd=htpasswd-file -n openshift-config
oc adm policy add-cluster-role-to-user cluster-admin admin
oc get oauth cluster -o yaml gt oauth1.yaml
spec:
identityProviders:
- htpasswd:
fileData:
name: localusers
mappingMethod: claim
name: myusers
type: HTPasswd
oc replace -f oauth.yaml
oc get pods -n openshift-authentication
oc login -u admin -p redhat
oc get nodes
oc get users
oc get identity
oc login -u developer -p developer
oc get nodes

Пікірлер: 12

  • @user-bj4mg8zc2v
    @user-bj4mg8zc2v Жыл бұрын

    Valuable and informative demo. Your effort highly appreciated

  • @techtejendra4782

    @techtejendra4782

    Жыл бұрын

    Thanks ..

  • @Kameswara12345
    @Kameswara12345 Жыл бұрын

    Thank you so much tejendra

  • @Reeevz
    @Reeevz Жыл бұрын

    I appreciate your efforts and thanks for sharing your knowledge Tejendra

  • @techtejendra4782

    @techtejendra4782

    Жыл бұрын

    Thanks 🙂

  • @tarcardoso
    @tarcardoso3 ай бұрын

    Muito bom. Me ajudou muito.

  • @viraldesai6599
    @viraldesai659912 күн бұрын

    I want to migrate Virtual machine to Openshift. Pls make a video on it.

  • @techtejendra4782

    @techtejendra4782

    11 күн бұрын

    Sure I will make soon. You can opt OSV (OpenShift Virtualization) for your VM migration.

  • @softwarehindi4696
    @softwarehindi46963 ай бұрын

    Please share the word doc

  • @dineshsurya8624
    @dineshsurya86248 ай бұрын

    How to do htpasswd password installation step. Not to able install on openshift local on my laptop. Could you please share the step I'm stuck in here

  • @chinthayadav4719

    @chinthayadav4719

    7 ай бұрын

    Did you solve your problem, let me know how to install

  • @UdaySingh-im4hd
    @UdaySingh-im4hd Жыл бұрын

    I am getting this error ==> [root@bastion identity-provider]# oc login -u user1 -p HP1nvent error: x509: certificate signed by unknown authority