Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

API Credentials

MaxMcConchie
5 - Atom

If I am triggering a workflow via API and the workflow has the "Use default credentials" setting, what credentials does it use?

3 REPLIES 3
fmvizcaino
17 - Castor
17 - Castor

Hey @MaxMcConchie ,

 

This is the pyramid of credentials, and it is working from the bottom up. So it can be a service account, run as or subscription credential, depending on your configuration.

 

pyramid.png

 

Best,

Fernando Vizcaino

 

 

 

Thableaus
17 - Castor
17 - Castor

Adding to @fmvizcaino's point here, this post is very informative:

https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/How-Workflow-Credentials-Work-on-a-Pr...

 

Let us know if there any further questions.

 

Cheers,

MaxMcConchie
5 - Atom

Thank you for that information.

 

I have read through the knowledgebase article but I'm still having some problems.

 

I added a set of credentials and used them to set the "Run As" credentials on my subscription, I then updated the workflow to use "Run As" credentials.

 

I tested that the workflow was successful when run via server, however I am trying to run it via the "POST" method from the subscription API and I am getting an access denied error on the folder that it is trying to output a file to. 

 

This tells me that the service account credential credentials are being used. 

 

How do I get around this?

 

Thanks