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WxsIGdyYW50ZWQKICAgIDwvRGlyZWN0b3J5Pgo8L1ZpcnR1YWxIb3N0Pgo=
But when the cfg-config value is base64-decoded, it yields the second string. juju-deployer should consider these values identical.