Delete bulk metadata keys from gcp instance

we have more than 5 keys configured under instance metadata, i am not able to find the right set of commands to delete the keys in bulk, getting error when executing gcloud command below.

GCP command - Getting error when giving key names.

gcloud compute instances remove-metadata INSTANCE_NAME [--zone=ZONE] --keys=KEY,[KEY,...]]

Can somebody give the correct format for removing the keys.

0 1 218
1 REPLY 1

Hi Vickeyram,

The documentation for your issue can be found here.

I also recommend reading about the risks of manual key management for compute instances. 

Hope this helps.