This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

Dynamic Pack credentials/configuration possible?

At the risk of ressurecting an old thread, I have a situation where I will need to perform actions using a pack but need to change the configuration of the pack at run-time.

I have a workflow that orchestrates actions across several different platforms, one of which is AWS. The aws 2.0.0 pack has me configure the AWS Access Key and Secret Key in the pack configuration, which is then used by the actions. I’ll need to target different customer was accounts, as they provide the account ID and access/secret tokens as part of the API call, and would like to reconfigure the pack for the scope of the action runner, or failing that, configure the AWS pack itself and lock operations to just that workflow until its completed to ensure no concurrent runners try to do actions in the wrong enclave.

I haven’t seen any native action in st2 to manipulate pack configuration, so I’m embarking on the arcane wizardry of delving into where that configuration is read from at runtime to see how to go about writing core actions to manipulate it.

Can someone tell me I’m crazy and point to a better way?