Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Cloud Backup Passwordless Script

ro da
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2018

Hello To All,

I had a question regarding using automation in backing up our Jira Cloud files. I took a look at the below link:

https://confluence.atlassian.com/jirakb/how-to-automate-backups-for-jira-cloud-applications-779160659.html

and the first thing that stood out that presented a risk was populating the script with a username and a password. I am uncertain of how effective using:

$credential  = New-Object System.Management.Automation.PSCredential($username, (ConvertTo-SecureString $password -AsPlainText -Force))

method is and because of that uncertainty I am very hesitant on using it. I wanted to ask the forum if anyone has used, "oauth" 

https://developer.atlassian.com/cloud/jira/software/jira-rest-api-oauth-authentication/

in a script to automatically create and pull backups from a Cloud Jira instance using PowerShell or my preferred scripting language of Python. Using this method would omit having to use a username/password in a script and would give me greater piece of mind. In brainstorming, I was thinking of leveraging our local password vault in someway into the equation. Any feedback would be greatly appreciated.

 

 

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
September 9, 2023

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events