На основании https://cloud.google.com/storage/docs/encryption/using-customer-managed-keys
Шаги для воспроизведения:
Результат:
{ "error": { "errors": [ { "domain": "global", "reason": "forbidden", "message": "We're sorry, but the Cloud KMS encryption feature is not available in your location; see https://cloud.google.com/storage/docs/encryption/customer-managed-keys#restrictions for more details." } ], "code": 403, "message": "We're sorry, but the Cloud KMS encryption feature is not available in your location; see https://cloud.google.com/storage/docs/encryption/customer-managed-keys#restrictions for more details." } }
Я совершенно уверен, что это неверная конфигурация, но не смог понять мою ошибку. Запрос идет не из запрещенной страны - https://cloud.google.com/compute/docs/disks/customer-supplied-encryption#general_restrictions