01-28-2019 06:46 AM
Similar to some of the other “dynamic” type of accounts, is there a way to implement a dynamic binary basic auth account? I have a need to send files to partners via file transfer protocols like SFTP, but where the credentials need to be stored and pulled from an internal IAM system. Assuming I can handle that part in an upstream snap, how can I then use those credentials in a File Writer (etc) type of snap? Thoughts?
01-28-2019 09:27 AM
I believe the Binary Basic Auth account’s username/password properties are already expression-enabled. So, you should be able to make them expressions and use a pipeline parameter to set their values dynamically.
01-28-2019 10:41 AM
Oh, you’re right. Thanks Tim!
01-28-2019 11:00 AM
What about REST Basic Auth? Not seeing expressions enabled there. Might be able to not use an account and pass a constructed auth header in the request instead I suppose.
02-05-2019 10:23 AM
Looks like that was missed, I’ve filed a feature request.