Is it possible to use Certificate variables in scripts on Linux hosts?

(Paul Milbank) #1

Hi

I would like to use certificates managed by Octopus on a Linux host.
It looks like the certificate variable is a dictionary possibly. All the docs only mention Powershell and IIS. Is it possible to use the certificate variable type in a bash script?

If that isn’t an option, is it possible to use the certificate vars in a python3 script?

Thanks
Paul

(Paul Milbank) #2

Looks like I can use
CERT_VAR="#{cert_var.expanded_property}"

the have tried with a couple of properties here: https://octopus.com/docs/deployment-process/variables/certificate-variables

Seems to work OK

(Ziaul Islam) #3

Hi Paul,

Welcome to Octopus!

I’m glad you got that working.

If there’s anything further we can do at Octopus for you please let us know.

Kind regards,
Ziaul