Skip to content

Update safire.py - #5

Open
twilson90 wants to merge 5 commits into
88lex:masterfrom
twilson90:master
Open

Update safire.py#5
twilson90 wants to merge 5 commits into
88lex:masterfrom
twilson90:master

Conversation

@twilson90

Copy link
Copy Markdown

Fixed config.py path issue
#3

Fixed config.py path issue
Simplified so config.py is created with default_config.py, no need to instruct user to download default_config.py when it's already there.
Changed svcaccts generation to create guaranteed unique filenames using the project name and the service account id:
<project>@<private_key_id>.json
Multiple projects/service accounts no longer overwrite one another if script run at separate times.
No need for next_json_num
Just realised service account jsons are not unique, reverted to something a little different what it was originally.
<project>@<next_json_num>.json
With each project next_json_num reverts to 1
Easier to identify what credentials belong to which project this way.
def_cfg_file pointed to wrong directory, fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant