Como usar chaves de criptografia gerenciadas pelo cliente com o Cloud Storage e o Cloud KMS avaliações
13267 avaliações
Brandon K. · Revisado há about 3 years
Jesus O. · Revisado há about 3 years
ananth v. · Revisado há about 3 years
Alejandro B. · Revisado há about 3 years
Unmesh T. · Revisado há about 3 years
Ankit S. · Revisado há about 3 years
there were two syntax issues in the instructions 1) Set the default key for a bucket wrong syntax: gsutil kms encryption -k \ projects/$DEVSHELL_PROJECT_ID/locations/us/keyRings\ /$KEYRIN correct syntax: gsutil kms encryption -k projects/$DEVSHELL_PROJECT_ID/locations/us/keyRings/$KEYRING_NAME/cryptoKeys/$CRYPTOKEY_1_NAME gs://$DEVSHELL_PROJECT_ID-kms 2) Bonus: Encrypt data with the REST API Step 8 command wrong syntax: curl -v \ "https://cloudkms.googleapis.com/v1/projects/$DEVSHELL_PROJECT_ID/locations/us/keyRings/$KEYRING_NAME/cryptoKeys/$CRYPTOKEY_1_NAME:decrypt" \ -d "{\"ciphertext\":\"$(cat data1.encrypted)\"}" \ -H "Authorization:Be Correct syntax: curl -v \ "https://cloudkms.googleapis.com/v1/projects/$DEVSHELL_PROJECT_ID/locations/us/keyRings/$KEYRING_NAME/cryptoKeys/$CRYPTOKEY_1_NAME:decrypt" \ -d "{\"ciphertext\":\"$(cat data1.encrypted)\"}" \ -H "Authorization:Bearer $(gcloud auth application-default \ print-access-token)" \ -H "Content-Type: application/json" \ | jq .plaintext -r > data1.decrypted
Ananth K. · Revisado há about 3 years
Nurhidayah B. · Revisado há about 3 years
Matheus L. · Revisado há about 3 years
Alex J. · Revisado há over 3 years
Charles E. · Revisado há over 3 years
Mariusz K. · Revisado há over 3 years
Vikas D. · Revisado há over 3 years
Swapnil K. · Revisado há over 3 years
Shishir J. · Revisado há over 3 years
Ronald C. · Revisado há over 3 years
Omar H. · Revisado há over 3 years
Valeria L. · Revisado há over 3 years
Yong Leong C. · Revisado há over 3 years
Muthukumar M. · Revisado há over 3 years
Elrayan M. · Revisado há over 3 years
Jih S. · Revisado há over 3 years
Martin N. · Revisado há over 3 years
Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.