Hi,
I've a python script that I'm using for an automated backlog update process.
For this I've written this as the first few lines:
jira_options = {'server' : 'http://server-name'}
jira = JIRA(options = jira_options, basic_auth = ('username', 'password'))
Is there any way I could not explicitly store the password in the code??
Hey @Pranay Verma ,
chances are i misunderstood the question, but here goes:
Is there any way I could not explicitly store the password in the code??
Yeah. Store it in a file and protect the file via permissions, or hand the password to the script via command line arguments.
Ill give you two entry points to google them:
regards
Hi @Michael Wohlgemuth ,
I used oAuth rather than using BasicAuth, and that essentially solves the issue. Also, your suggestion regarding protecting the file also makes sense, thanks!!
Thanks,
Pranay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.