メインコンテンツへスキップ

GCPでCMEKを使用している場合、ディスクが暗号化されません

Views:
32
Visibility:
Public
Votes:
0
Category:
cloud-manager
Specialty:
cloud<a>Security</a><a>2009268956</a><a>Cloud Key Management</a><a>のCloudKMS</a>
Last Updated:

環境

  • 顧客管理暗号化キー(CMEK)
  • Google Cloud(GCP)
  • NetApp クラウドボリューム ONTAP
  • NetApp Cloud Manager の略

問題

  • WorkingEnvironmentは、CMEKを使用するように「gcpEncryptionParameters」が設定されたJSONテンプレートを介して展開されます
  • 展開は成功するが、タイムラインで「ラベルでディスティネ」タスクを調べる。ディスクは、指定されたキーで暗号化されていない。
 
Create Disk
Success
{
"name": "gcpcvo-vm2datadisk1",
"_result": {
"operationType": "insert",
},
"image": null,
"sizeGb": 4096,
"labels": {
"working-environment-id": "vsaworkingenvironment-xxyyzz"
},
"diskType": "pd-ssd",
"encryptionKey": null
}
 
  • 次のエラーは、server.logで確認できます
Error:Operation Deploy failed with error Error: Code: RESOURCE_ERROR Target: /deployments/gcpcvo-deployment/resources/gcpcvo-disk-xxyyzz Message: {"ResourceType":"compute.v1.disk","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"errors":[{"domain":"global","message":"Cloud KMS error when using key projects/project-cvo/locations/gcp-region/keyRings/mykeyring/cryptoKeys/key: Permission 'cloudkms.cryptoKeyVersions.useToEncrypt' denied on resource 'projects/project-cvo/locations/gcp-region/keyRings/mykeyring/cryptoKeys/key' (or it may not exist).","reason":"kmsPermissionDenied"}],"message":"Cloud KMS error when using key projects/project-cvo/locations/gcp-region/keyRings/mykeyring/cryptoKeys/key: Permission 'cloudkms.cryptoKeyVersions.useToEncrypt' denied on resource 'projects/project-cvo/locations/gcp-region/keyRings/mykeyring/cryptoKeys/key' (or it may not exist).","statusMessage":"Bad Request","requestPath":"https://compute.googleapis.com/compu...gcp-zone/disks","httpMethod":"POST"}}

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.