xyou365 / AutoRclone

AutoRclone: rclone copy/move/sync (automatically) with thousands of service accounts
https://www.gfan.loan/?p=235
1.36k stars 517 forks source link

Mass deleting Service Account keys #28

Closed theg00s3 closed 4 years ago

theg00s3 commented 4 years ago

For some reason my service accounts have 3-4 keys each, which means that when I run python3 gen_sa_accounts.py --download-keys [project-id] I get 300-400 keys. Is there a way to delete all the excess keys from the service accounts without deleting the service accounts themselves?

CyberPoison commented 4 years ago

Sorry for late reply but there is a python3 script look here

https://github.com/Rhilip/AutoRclone/blob/master/remove.py

theg00s3 commented 4 years ago

Cool! Thanks for the help