Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to run powershell script as the logged-in Bamboo user

christok March 12, 2019

We are using Powershell to execute dotnet build and msdeploy tasks. However, as we have delegated remote IIS management permissions to the Bamboo server, we need to control which users can execute msdeploy against which environment.

I don't see how this can be accomplished through the bamboo application-level security since because of separation of roles we need those with permission to create and edit tasks to be different from those who are executing the tasks.

It seems to me that the easy way to do this is to run our powershell scripts as the Windows user who is logged into Bamboo, rather than as the Bamboo service user. Is it possible to do this?

Or am I missing something?

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events