1

Can you please advise on how to download the Octopus variables set from Library in Octopus.

The Project variables can be downloaded as JSON, but for the ones in Library set, there is no such option.

Is the Octo tools the only option to export the variables set?

Thank you.

Patty
  • 451
  • 1
  • 4
  • 11
  • Try this script: https://github.com/OctopusDeploy/OctopusDeploy-Api/blob/master/REST/PowerShell/Variables/GetVariablesFromVariableSet.ps1 – benPearce Jan 20 '20 at 04:51
  • Whoever downvoted this question, please can you provide the reason? – Patty Jun 28 '21 at 08:48

1 Answers1

1

You can get variable set from API,

Get API Call : {YourOctopusURL}/api/Spaces-1/variables/variableset-{LibraryVariableSetsId}

and Find libraryvariablesets section

Reference Answer

Let me know if you have any concern.

Community
  • 1
  • 1
Nirav Mistry
  • 949
  • 5
  • 15