# Changing the keyPassphrase in /home/sailpoint/config.yaml

**URL:** <https://developer.sailpoint.com/discuss/t/changing-the-keypassphrase-in-home-sailpoint-config-yaml/31462>\
**Category:** SHF Community Knowledge Base\
**Tags:** virtual-appliance, sailpoint-identity-security\
**Created:** [February 21, 2024, 1:34pm UTC](https://developer.sailpoint.com/discuss/t/changing-the-keypassphrase-in-home-sailpoint-config-yaml/31462 "2024-02-21T13:34:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamian](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@adamian](https://developer.sailpoint.com/discuss/u/adamian)\
**Post date:** [February 21, 2024, 1:34pm UTC](https://developer.sailpoint.com/discuss/t/changing-the-keypassphrase-in-home-sailpoint-config-yaml/31462/1 "2024-02-21T13:34:45Z")

</div>

Hi all,

Just documenting the info I found with regard to the `keyPassphrase` from the `/home/sailpoint/config.yaml` configuration as I couldn’t find a proper document.

SailPoint says that the same passphrase should be used for all VAs belonging to a cluster. The passphrase we set (e.g. `keyPassphrase: myUnsecurePassphrase`) is encrypted before/when the CCG service is started (the value will be replaced with a base64 encoded string that starts with `::::`).

Because the encryption uses the same key and same salt value on all VAs, you can **check if the same key passphrase** was used on both VAs by just comparing the encrypted values (e.g. `keyPassphrase: '::::xxxxxxxxxxxxxxxxxxx'` should be the same in both files).

If you don’t know the passphrase anymore on one of your VAs and you want to **sync the passphrase** , you could just set the same encrypted value in config.yaml and restart the service.

One **bug** that I’ve seen is that if you set the unencrypted value like this: `keyPassphrase: 'myUnsecurePassphrase'`, you’ll end up with a value like this: `keyPassphrase: ''::::xxxxxxxxxxxxxxxxxxx''` (that is double single quotes), and CCG won’t start anymore. Replace the two single quotes with one single quote, restart CCG.

Best regards,  
Andrei

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [April 21, 2024, 1:35pm UTC](https://developer.sailpoint.com/discuss/t/changing-the-keypassphrase-in-home-sailpoint-config-yaml/31462/2 "2024-04-21T13:35:40Z")

</div>

Closed on April 21, 2024, 1:35pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
