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

Write endpoint username #6471

Closed
mmajcica opened this issue Feb 20, 2018 · 6 comments
Closed

Write endpoint username #6471

mmajcica opened this issue Feb 20, 2018 · 6 comments
Assignees

Comments

@mmajcica
Copy link
Contributor

From my custom task I'm trying to output some information. One of it is my endpoint username. The other one is a value from a variable called $Username.

In both cases I do get:
MDS admin is reset to '********'.

Is there a way to overcome this protection?

Thanks

@bryanmacfarlane
Copy link
Contributor

@GitHubSriramB for service endpoint question

@GitHubSriramB
Copy link
Contributor

@mmajcica - All endpoint authorization parameters are getting masked by the agent. This is same as following issue: microsoft/azure-pipelines-agent#1207

When an endpoint auth. parameter value is masked, the string gets masked even when it gets logged through another variable. This is expected.

@bryanmacfarlane - any update on whether the service-side bug in Build is address to remove the agent from masking all endpoint authorization parameters?

@mmajcica
Copy link
Contributor Author

@GitHubSriramB is there a way to bypass this limitation? It is not only applicable to the endpoint values, but also to any variable that has been named UserName or similar.

@mmajcica
Copy link
Contributor Author

mmajcica commented Mar 1, 2018

@bryanmacfarlane @GitHubSriramB guys any ideas about this?

@GitHubSriramB
Copy link
Contributor

@mmajcica - the masking happens only based on value of endpoint authorization parameters. If value of variable named as UserName is different from the values of any of the endpoint authorization parameters, then the variable value should not get masked.

@GitHubSriramB GitHubSriramB removed their assignment Mar 21, 2018
@moswald
Copy link
Member

moswald commented Nov 15, 2018

@mmajcica This is not a tasks bug. To suggest a new feature, please create a new post on the Azure DevOps Developer Community site. Thank you!

@moswald moswald closed this as completed Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants