Recover Service Account on Google Cloud


I have deleted a Service Account by mistake and I have been reading this documentation ( but I can't find any option to recover it.

Is it possible to recover a deleted account?

Best Answer

This is possible using the gcloud command line tool, though its in a beta at the moment, it still works perfectly and got me out of a sticky situation

gcloud beta app repair --project <your project id>

This will restore all the default service accounts. docs here They were quite hard for me to find, so I hope this answer helps others.