Incorrect API key causes creation of secrets to fail

Failure to create secrets that use CLI or IBM® Cloud Private console UI. The following error message is displayed:

Error from server (InternalError): Internal error occurred: rpc error: code = Unknown desc = BXNIM0415E:Provided API key could not be found

Cause

The provided API key is incorrect.

Resolving the problem

Make sure the correct API_KEY is specified in the /etc/cfc/conf/kmsplugin-config.yaml file. Restart the Key Management Service (KMS) plug-in container after you update the file.