cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Cloud CCv2 Datahub setting datahub.encryption.key.path

d_j_boyd
Participant
0 Likes
834

When setting up CCv2 with datahub you create a folder config under datahub and you place in here datahub-environment.conf datahub-environment-d1.conf * encryption-key.txt

So in datahub-environment-d1.conf is it correct to add datahub.encryption.key.path=encryption-key.txt or should the path be something else?

Accepted Solutions (0)

Answers (3)

Answers (3)

chandnigideon13
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi David,

Were you able to figure out the solution for this problem? We are migrating datahub to cloud and facing the same issue.

We get the following error:

Could not load extension sapcoreconfiguration

com.hybris.datahub.validation.ValidationException: [ValidationFailure{FATAL, isSecured: "Attribute is marked as secure but Encryption Strategy is not enabled or configured correctly"}]

Thanks in advance!

Former Member
0 Likes

Hi team have you already done the installation, i have read that this should be installed before you made an installation, this is correct?

Regards!

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

If I understood the documentation correctly, you don't need to set the datahub.encryption.key.path in your configuration.

Just make sure that the key is in the file datahub/config/encryption-key.txt, then it is picked up automatically

0 Likes

Thanks for the hint and all the best.

d_j_boyd
Participant
0 Likes

So far in either option - I am getting errors in the log when I try and execute the Upload SAP Configuration to Datahub.

As of right now I am getting the following error

2019-03-21 00:57:41,593 [ERROR] [c.h.d.e.l.i.DefaultExtensionLoaderService] Could not load extension sapcoreconfiguration com.hybris.datahub.validation.ValidationException: [ValidationFailure{FATAL, isSecured: "Attribute is marked as secure but Encryption Strategy is not enabled or configured correctly"}]