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

Commit status publisher with Vault

Open Verderian opened this issue 5 years ago • 4 comments

I have a successful connection to Vault. I have pulled passwords from the Vault inside the Build Steps successfully. But I can't use them inside of Build Features (Commit status publisher - GitLab - Private Token). Why?

Verderian avatar Jun 13 '19 08:06 Verderian

Because internally parameters are resolved on agent side just before build started in 'Build Preparation Step' which iterates over all Build Features. If BuildFeature operates on agent side it could be possible to use parameter generated by Vault integration if BuildFeature is processed after VaultBuildFeature, though I haven't checked that.

Why?

Obviously, "not implemented"

VladRassokhin avatar Jun 13 '19 11:06 VladRassokhin

Any plan for that to be implemented @VladRassokhin ? Ticket we can upvote to bump its priority? Thanks!

eakraly avatar Oct 10 '19 22:10 eakraly

@eakraly I've no plans to implement that. Though may review a pull request

VladRassokhin avatar Oct 12 '19 17:10 VladRassokhin

Does https://github.com/JetBrains/teamcity-hashicorp-vault-plugin/pull/58 help in any way with this issue? Could the same be applied here? (not familiar with the code)

fopinappb avatar Jun 27 '24 14:06 fopinappb