StackStorm/st2

st2 install action doesn't decrypt the secret variable

Closed this issue · 1 comments

SUMMARY

  1. st2 install action doesn't decrypt the secret variable when using it to download a pack from our github

STACKSTORM VERSION

st2 3.4.1, on Python 3.6.9

Paste the output of st2 --version:

OS, environment, install method

Post what OS you are running this on, along with any other relevant information/

  • e.g. Docker, Vagrant, Kubernetes, etc. Describe how you installed ST2
  • e.g. one-line install, custom install, etc -->
    Docker

Steps to reproduce the problem

Show how to reproduce the problem, using a minimal test-case. Make sure to include any content
(pack content - workflows, actions, etc.) which are needed to reproduce the problem.
st2 pack install "https://:{{ st2kv.system.st2_github_pass }}@"

Expected Results

{
"": "Success."
}
What did you expect to happen when running the steps above?

Actual Results

"None"
What happened? What output did you get?

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

st2 pack install "https://:{{ st2kv.system.st2_github_pass | decrypt_kv }}@" worked