Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-1494

In ROSA HCP, add external authentication option for access control tab

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • OCM Core Sprint 253, OCMUI Core Sprint 254

      For HCP clusters that have the external_auth_config enable flag set to true, a new menu option is needed for the access control tab on the overview page.

      The "External Authentication" section will allow for 2 initial functions:

      1) Setup external authentication provider (this is the work for this ticket)

      2) Users will be able to associate external users to cluster admin functions using the "break glass"  (see OCMUI-1618)

      https://docs.google.com/document/d/1HaEaQKzzQqNMiPxovnYWasLB2yVjHnsfSIs1q8BWD2Q/edit#heading=h.2vltyx50ycbv

      Before issuing the command to add the external provider, the provider needs to be setup with instructions in the above document. Specifically the id, url and audiences items.

      Setting up external provider looks like this:

       
      echo '{
         "id": "m-entra-id",
         "issuer": {
              "url": "https://login.microsoftonline.com/fa5d3dd8-b8ec-4407-a55c-ced639f1c8c5/v2.0",
              "audiences": [
                  "a9464024-b142-4bdf-86c0-a153109cdb14"
              ]
         },
         "claim": {
              "mappings": {
                  "username": {
                      "claim": "email"
                  },
                  "groups": {
                      "claim": "groups"
                  }
              }
         }
      }' | ocm post /api/clusters_mgmt/v1/clusters/29b4kri70gup8le2iutt3db59plj3069/external_auth_config/external_auths
      

       

      Acceptance Criteria:

      1) User will see the "External Authentication" section

      2) Users will be able  to add/edit/delete a new external auth provider 

       

              zherman Zac Herman
              dtaylor@redhat.com David Taylor
              LAKSHMI SHIVANTHI AMARACHINTHA LAKSHMI SHIVANTHI AMARACHINTHA
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: