SUMMARY
Not able to fetch Decrypted value of key stored in the datastore through command <% st2kv('testkey',decrypt=true) %> inside a mistral-v2 workflow.
It is giving back the encrypted value of the key. According to the documentation : https://docs.stackstorm.com/mistral_yaql.html , as it says in note i did the same.
ISSUE TYPE
STACKSTORM VERSION
st2 2.9.1, on Python 2.7.5
OS / ENVIRONMENT / INSTALL METHOD
CentOS 7
STEPS TO REPRODUCE
st2 key set testkey testval --encrypt
tasks:
TestTask:
action: core.noop
publish:
password: <% st2kv('system.testkey',decrypt=true) %>
EXPECTED RESULTS
testval
ACTUAL RESULTS
30303030302A93583622D1B1145E678F02CF014691DD6DC1FAC7CE6D1C8597F3AA29ED52305ABA1C1B42E569123A7220FD50B37B12B430E893
SUMMARY
Not able to fetch Decrypted value of key stored in the datastore through command
<% st2kv('testkey',decrypt=true) %>inside a mistral-v2 workflow.It is giving back the encrypted value of the key. According to the documentation : https://docs.stackstorm.com/mistral_yaql.html , as it says in note i did the same.
ISSUE TYPE
STACKSTORM VERSION
st2 2.9.1, on Python 2.7.5
OS / ENVIRONMENT / INSTALL METHOD
CentOS 7
STEPS TO REPRODUCE
EXPECTED RESULTS
testval
ACTUAL RESULTS
30303030302A93583622D1B1145E678F02CF014691DD6DC1FAC7CE6D1C8597F3AA29ED52305ABA1C1B42E569123A7220FD50B37B12B430E893