Gravatar for

Question by Dan Cruickshank, Apr 19, 2017 2:51 PM

Coveo for Sitecore Cloud - Can't use a shared API Key across multiple dev machines

We're trying to setup Coveo for Sitecore 8.1 4.0 (1258) across some local dev environments / VMs.

Each user has to login to the Coveo Cloud Org and create their own unique API Key for it to work. Having a unique Coveo.CloudPlatformClient.Custom.config per developer doesn't work with our local build/deployment processes and I'm sure there is a better approach.

FWIW our \Data\Coveo\ConfigurationEncryptionKeys is empty after install.

Thank you for any help

2 Replies
Gravatar for

Answer by Dominic Berube, Apr 19, 2017 3:01 PM

Hi Dan,

The EncryptionKeys is now located in the PropertyStore (Properties table of the Core database). Instead of copying the ConfigurationEncryptionKeys file, you need to copy the value from the database across all your environments. See the Scaling Guide.

Gravatar for

Comment by Dan Cruickshank, Apr 19, 2017 3:43 PM

@derube And these encryption keys play a role in the API Key as well?

Gravatar for

Answer by Dan Cruickshank, Apr 20, 2017 7:50 PM

FWIW - I put together a blog post on Coveo for Sitecore Cloud in a multi developer environment to go along with the answer. Thanks for the help!

Gravatar for

Comment by Dominic Berube, Apr 20, 2017 7:56 PM

Thanks Dan for sharing this post!

Ask a question