Extract the credential retrieval into a function, getCredential that will retrieve the cred from the environment & remove the variable on successful retrieval (this should result in a cleaner environment in downstream processes).
Also, add the two secrets I think users should care about (OAUTH2 client ID and secret) in files whose paths get passed on the commandline.
Extract the credential retrieval into a function, getCredential that will retrieve the cred from the environment & remove the variable on successful retrieval (this should result in a cleaner environment in downstream processes).
Also, add the two secrets I think users should care about (OAUTH2 client ID and secret) in files whose paths get passed on the commandline.