You can enable customer-managed keys (CMK) in three ways:
To enable CMK for your service instance (for example, named mycredstore), go to your command console and run:
cf update-service mycredstore -c "{\"cmk-support\":{\"encryption-keys\":\"customer\"}}"
-
In the SAP BTP cockpit, navigate to your subaccount and space..
-
From the left-side navigation menu, choose Services > Instances.
-
Go to your Credential Store instance and from its (Actions) menu, choose Update.
-
Choose Next, and then replace the default brackets
{}with the following JSON code:{ "cmk-support": { "encryption-keys": "customer" } } -
Choose Update Instance.
-
In the SAP BTP cockpit, navigate to your subaccount and space..
-
From the left-side navigation menu, choose Services > Instances.
-
Select the Credential Store instance for which you want to enable CMK.
-
From the left-side navigation menu, choose (Credential Store).
-
Go to the Settings tab and choose (Edit Configuration).
-
In the Encryption Keys field, switch to Customer-Managed.
-
Save your changes.
When you change the service instance settings from SAP-Managed to Customer-Managed, all credentials included in this instance will be re-encrypted with a customer key in an asynchronous manner.
Related Information