Last active
June 17, 2022 18:44
-
-
Save TheCaduceus/e2256010eafc89c27fa09353149b02bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~~~ | |
Go to Google Console and create a new project! Download its credentials.json and place it in the folder which you will extract below. | |
~~~ | |
1.Download Python: | |
https://www.python.org/downloads/ | |
2.Download scripts: | |
https://www.caduceus.ml/files/SA%20-%20Auth%202.0.zip | |
(Error 400 Fixed) | |
3.Unzip above downloaded scripts | |
--- | |
4.Run the Following commands one by one: | |
1.pip3 install -U -r requirements.txt | |
2.py gen_sa_accounts.py | |
3.py gen_sa_accounts.py --list-projects | |
4.py gen_sa_accounts.py --enable-services projectid | |
5.py gen_sa_accounts.py --create-sas projectid | |
6.py gen_sa_accounts.py --download-keys projectid | |
7.$emails = Get-ChildItem .\**.json |Get-Content -Raw |ConvertFrom-Json |Select -ExpandProperty client_email >>emails.txt | |
8.py rename_script.py | |
--- | |
* Replace projectid with PROJECT ID which you will get from command 3 | |
* From 1 to 6 Commands and 8 run in CMD | |
* Run Command 7 in Powershell. | |
--- | |
If commands are not working then replace "py" with "python" or "python{version}" where version can be 1,2,3.... like "python3". | |
--- | |
Before running Commands in CMD & Powershell first configure them in that Folder! | |
To Configure CMD: | |
Open the Extracted Folder and in the Address bar, type CMD and it will automatically configure it and then there is no need to execute cd command. | |
To Configure Powershell: | |
Open the Accounts Folder and type "Powershell" and you are ready to do it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment