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

Disable masking of usernames #289

Open
dhs-rec opened this issue Feb 14, 2023 · 1 comment
Open

Disable masking of usernames #289

dhs-rec opened this issue Feb 14, 2023 · 1 comment

Comments

@dhs-rec
Copy link

dhs-rec commented Feb 14, 2023

What feature do you want to see added?

Similar to what has already been done for the default Jenkins credentials provider: https://issues.jenkins.io/browse/JENKINS-44860.

Please add a flag to individual credentials (and/or a global one for setting a default value) to disable masking of usernames, or even remove this feature completely.

It doesn't make much sense and usually splatters the 5-star string all over the build log (for example, we have a user called "build", so every occurrence of that word is replaced with the 5 stars, which makes the log somewhat hard to read.

Thanks a lot.

Upstream changes

https://issues.jenkins.io/browse/JENKINS-44860

@Oliniusz
Copy link

Oliniusz commented Aug 17, 2023

I've come to this issue looking for exactly that.

We use our Vault to provide all kinds of variables for applications but also deployments parameters for Jenkins and Kubernetes for each application in each environment like e.g.:

{
  "CPU_LIMIT": "8192m",
  "CPU_REQUESTED": "256m",
  "CPU_SCALING_THRESHOLD": "60",
  "DEFAULT_TOPIC_CACHE_TIMEOUT": "2",
  "DEPLOYMENT_AWS_REGION": "eu-west-2",
  "ECR_REGION": "eu-west-2",
  "ENVIRONMENT": "qa",
  "GUNICORN_THREADS_AMOUNT": "24",
  "GUNICORN_WORKERS_AMOUNT": "1",
  "GUNICORN_WORKER_CLASS": "gthread"
}

As you can imagine, I don't really want every single 1, 24, 2, qa etc. being replaced with asterisks.

May I ask you for any suggestions if there is any workaround I could use in the meantime, please?

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

2 participants