googlearchive / k8s-service-catalog

[DEPRECATED] Commandline tool to manage Service Catalog lifecycle and GCP Service Broker atop Kubernetes Cluster
Apache License 2.0
69 stars 31 forks source link

Deletion fails to cleanup keys #198

Closed cholick closed 6 years ago

cholick commented 6 years ago

The key's name is the full path, as in: projects//serviceAccounts/<...>.iam.gserviceaccount.com/keys/

While the CLI command invoked by RemoveServiceAccountKey only takes

maqiuyujoyce commented 6 years ago

Hi Matt, thank you for bringing up the problem! This seems to be a versioning issue. In Google Cloud SDK 196.0.0, both the full path ("projects/[project_id]/serviceAccounts/.../keys/[key_id]") and the [key_id] work. I guess they made some change recently and stopped accepting the full path. Thank you very much for fixing it!