Changing the portal client_secret

Change the client_secret for the portal subsystem to keep it in sync with the management subsystem.

About this task

The portal subsystem uses the same client_secret as the management subsystem. If you change the client_secret on the management subsystem, update the portal subsystem by pulling the credential from the management subsystem.

Note: If you did not deploy the portal subsystem, skip this task.

Procedure

  1. On a portal pod, run the following command to pull the portal service's client_secret from the management subsystem:
    kubectl -n namespace exec -t portal-mydc-www-0 -- bash -ic refresh_cloud_credentials

    where namespace is the namespace where you installed the portal subsystem.

  2. Then, run the following command to update the credential for the portal sites:
    Note: If you did not deploy any portal sites, skip this step.
    kubectl -n namespace exec -t portal-mydc-www-0 -- bash -ic "refresh_site_credentials -a"

    where namespace is the namespace where you installed the portal subsystem.