teamcity-hashicorp-vault-plugin icon indicating copy to clipboard operation
teamcity-hashicorp-vault-plugin copied to clipboard

Vault token is shown in plaintext in build parameters after the build.

Open Albibek opened this issue 3 years ago • 0 comments

When the build is finished or in progress, the vault wrapped token used by build to fetch secrets can be viewed in plain text. Event though the token is one-time and uses wrapping it is possible to trick the agent on not using it for this single time. After that the agent will fail with the error leaving the token usabele to fetch the secrets used by build.

Proposed solution: set type=password, display=hidden on teamcity.vault.wrapped.token

Albibek avatar Feb 02 '22 11:02 Albibek