Hi Community!
Looking to solve a problem we have with using the Publish to Tableau Server tool (amongst others) - I have an idea but not sure if it is the right answer.
Problem We're Trying to Solve: When using different tools within Alteryx that connect to other applications (Tableau, OneDrive, ServiceNow, etc.) - there is a username and password that typically needs to be embedded.

As we start to scale Alteryx at our organization, we don't want to have different user's passwords embedded for a couple of reasons. This is because:
- Password changes - this happens often enough and causes workflows to fail
- Auditing - Tableau administrators want to be able to understand who published a data source, and they especially don't want it to say User A who developed the workflow when they were not involved
- Permissions - Ensure that if User A publishes a workflow and shares it with User B - there is still some sort of authentication to ensure that we aren't bypassing permissions and licensing models we have established with Tableau Server
Current Idea: I'm thinking the best way to solve this is building a wrapper around the Publish to Tableau Server tool, where we embed one user (svc4alteryx for example). This service account would be responsible for any data sources that are published to Tableau Server. If the Tableau administrators need more information on who published it, we can show them our auditing logs. This would also mean that there would be only one extra Tableau license needed to accomplish this.
Then, similar to how the Publish to Tableau Server tool authenticates a user, there needs to be some sort of authentication of the run-as user on Gallery. We would need to confirm that run-as user has access to publish a data source to the site and project they specify in the workflow. If they do have the right permissions, then we go ahead with publishing to Tableau Server using our service account. This helps us to not have to embed user credentials and gets us away from someone sharing a workflow with a person who doesn't have the right permissions within Tableau.
Obviously not ideal to have to manage all this custom logic to help us to use these kinds of tools in our organization, but hoping we can build it in a reusable way where we can apply the majority of the logic to multiple tools and connectors.
If you have another approach or if you think I'm missing an obvious solution, would love your feedback!