A possible answer is a technique called fully homomorphic encryption (fhe). This permits computation directly on encrypted data. Someone with the correct key could, using fhe, send information to a cloud, have it processed there, and get the results back without putting anything sensitive at risk.