QuestionQ11

Integrating applications with Google Cloud services

Your application stores customer content in a Cloud Storage bucket, and every object is encrypted with that customer's encryption key. Each Cloud Storage object key is entered into your application by the customer. You find that the application receives an HTTP 4xx error while reading an object from Cloud Storage. What could cause this error?

Explanation

Cloud Storage customer-supplied encryption-key requests made through the REST APIs must include the AES256 algorithm, the Base64-encoded AES-256 key, and the Base64-encoded SHA-256 hash of that key. A read request that omits the required SHA-256 hash is invalid and can return an HTTP 400 error.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!