Shared content for all Kubernetes secrets docs - set cluster-wide passphrase
Use the following command to set the cluster wide secret key:
pxctl secrets set-cluster-key --secret <passphrase>
Successfully set cluster secret key!
The <passphrase>
in the above command will be used for encrypting the volumes. The cluster wide secret key needs to be set only once.
note
DO NOT overwrite the cluster wide secret key, else any existing volumes using it will not be usable.