How to mask user input for password field in github workflow_dispatch

305 views Asked by At

Below is the github actions workflow:

name: CALLERDB - AD

on:

  workflow_dispatch:

    inputs:

      DBLoginID:
        description: 'Enter the user id'
        required: true
        type: string

      my_password:
        description: 'Enter your password'
        required: true
        type: password

I need the user to input the password which should not be clear text / visible.

Instead, it should be masked as dots . or asterisks *

But, as you can see in the snapshot below the password is very much visible in clear text.

enter image description here

I do not wish to save the password in github secrets as there are 150 users who will run the workflow with their individual id-passwords and the password policy sets the password to expire every 2 months.

Can you please suggest what would be a a feasible solution here?

0

There are 0 answers