Update the Password Secret OCID and Policy

If you have moved your password to new secret or vault, then you must update the password secret OCID and policy to read the secrets with new secrets OCID.

Complete the following steps:
  1. Update the metadata on each node by using update_metadata.py script, which is located at /opt/scripts/utils/:
    python /opt/scripts/update_metadata.py -k <wls_admin_password_ocid> -v <new_secrets_ocid>

    Note:

    The command creates a backup of previous setup under /opt/scripts/utils/metadata_backup_<time_stamp>.txt.
  2. Update the servicename-secrets-policy policy to read the secrets with new secrets OCID.