EDIT: This is generally called the principal-agent problem, and there are lots of rules around agent behavior when it traditionally applies (eg attorney-client privilege and doctor-patient confidentiality).
Also, you should note that there are lots of crimes, and you probably commit a lot of them. If you have ever used someone else's WiFi without permission, that's one. If you carried a screwdriver or a sharpie into a store, that's a separate crime. The list goes on and on.
Also, this is entirely different from your original claim, because it has nothing to do with where the encrypted data is stored. If you store encrypted data in the cloud, then the fifth amendment provides you with the same degree of protection from disclosing the decryption key as it would for locally-stored encrypted data.
Especially considering the fact that the original comment omitted some pretty crucial details that end up painting the overall situation in a very different light.