Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7955315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:41:10+00:00 2026-06-04T03:41:10+00:00

I have a build configuration which deploys my code to a machine. Depending on

  • 0

I have a build configuration which deploys my code to a machine. Depending on which machine I am deploying to (e.g. dev/uat/prod), I need to run as a different user.

Rather than hardcoding the username and password in the build files (not really possible as they change regularly for security reasons) I would like to be able to type them in at the point I run the build. I would envisage the “Run Custom Build” in TeamCity would have this option but I can’t see anywhere to input that information.

Is there any way to do this (short of remoting into the build agent and changing the user which the build agent runs as)?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T03:41:11+00:00Added an answer on June 4, 2026 at 3:41 am

    The RunAs plugin combined with TeamCity 7’s new Typed Parameters will let you make the password a “typed” parameter plugin.

    Then, when it’s entered at the Run screen, it will not be visible in the build history.

    EDIT: Much later, as covered in the comments: You probably don’t want to do this. Consider having separate pools which run as different users, and parameters to specify what builds are supported by what pools.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a VB project which I'm trying to configure with three build configurations.
In my build configuration I have multiple project queues: Queue1, Queue2, ... Queue(N) I
Assume I have three build configurations Build and Run Tests QA Build Production Build
I have build a webapplication using ASP.NET MVC and JQuery. On my local machine
im using Sphinx and i have configured my gammar model path which is build\class\FYP
I have 2 build configurations in one project: Build & Test Code Deploy Code
We have a distributed .net system which consists of several solutions, each with different
I have build an APi which is a WCF Service. In the web.config for
We have a large solution here, with several dozen projects. The only build configuration
I have a project that has several build configurations (FREE version, male-only, female-only, etc.).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.