question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Task.json input type of password

See original GitHub issue

Is there a way to specify an input to be a secured field (masks the input)?

{
   "name": "password",
   "type": "password",
   "label": "Password",
   "defaultValue": "",
   "required": true
}

image

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
emre-akicommented, Jan 18, 2018

Hey @bryanmacfarlane,

Variables that are secrets get encrypted and stored securely.

As for that, how shall one read these variables from a PowerShell script? Is referencing by $env:<variable_name>going to return a string, or something like System.Security.SecureString? I need to be able to use that secret variable in a .ps1 file.

0reactions
soodputtercommented, Dec 20, 2018

Hi bryanmacfarlane, I have simillary problem like emre-aki. What is possible solution?

Best regards, Varun

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task.json input type of password · Issue #2967 - GitHub
Is there a way to specify an input to be a secured field (masks the input)? { "name": "password" ... Task.json input type...
Read more >
Secured/masked input type field in task.json file
json file that will have its input masked or secured. When you type in the field, its characters should not be readable like...
Read more >
VSTS Build Task Input Types - azure pipelines - Stack Overflow
Is there any way I can make the connectedService field in task.json hidden and use a fixed value(which I know) for the same...
Read more >
Use secure files - Azure Pipelines - Microsoft Learn
A: Build your own tasks that use secure files by using inputs with type secureFile in the task.json . Learn how to build...
Read more >
Using secrets from Azure Key Vault in a pipeline
We will retrieve the password in an Azure pipeline and passed on to subsequent tasks. Before you begin. Refer the Getting Started page...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found