Re-encrypting secrets
If necessary, all secrets that are not encrypted with the current keys can be
re-encrypted. This process involves decrypting the encrypted values using the keys that
originally encrypted them, and then re-encrypting the clear text values with the current
key. Once the re-encryption process is completed and all secrets have been successfully
re-encrypted, the old keys that are no longer in use are removed.
To re-encrypt secrets: