Error ST-SEC-008 SecureString Variable Usage SecureString variable used outside of the creation scope in Get Credential. Framework/InitAllApplications.xaml
everything is inside scope but it shows erroor
Error ST-SEC-008 SecureString Variable Usage SecureString variable used outside of the creation scope in Get Credential. Framework/InitAllApplications.xaml
everything is inside scope but it shows erroor
Please check if you are passing the Secure String to an argument in the invoked workflow.
This rule will give you warning if you make your Get Credential variables widely accessible than the activity used.
For example here if your Get Credential activity and Username, Password variables are in a single sequence, this is fine. You won’t get any error/warning
If you change the scope of the Username, Password variables to more wider like the Sequence - Parent - You will get this warning/error
So best practice is, get the credential and use it in the same sequence and discard/let it garbage collect as soon as possible.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.