Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added reauth command to refresh existing agent credentials #4991

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

starkmsu
Copy link
Contributor

@starkmsu starkmsu commented Sep 13, 2024

Added reauth command to refresh existing agent settings with new credentials.
Usage: reauth.cmd or reauth.sh - similar to other CLI commands there. Instead of using 2 commands - 'config remove' and 'config' - to achieve the same result.
Main usecases:

  1. After DevFabric redeployment if you have previously working agent configuration and local org has the same URL. Then running reauth cmd wll allow you to just update agent configuration with new PAT preserving the rest of configuration, registering build agent based on previously existing agent configuration.
  2. If you need to update agent credential. Existing agent configuration will be updated with new credentials

@starkmsu starkmsu requested review from a team as code owners September 13, 2024 14:31
@starkmsu starkmsu added the misc Miscellaneous Changes label Sep 13, 2024
@starkmsu starkmsu enabled auto-merge (squash) September 13, 2024 15:40
@starkmsu starkmsu force-pushed the users/snesterov/reauth-cmd branch 2 times, most recently from 6925fe2 to 91fdd87 Compare September 16, 2024 09:52
@starkmsu starkmsu merged commit 6b8de4d into master Sep 17, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc Miscellaneous Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants