JetBrains / teamcity-hashicorp-vault-plugin

TeamCity plugin to support HashiCorp Vault
Apache License 2.0
28 stars 18 forks source link

Commit status publisher with Vault #21

Open Verderian opened 5 years ago

Verderian commented 5 years ago

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?

VladRassokhin commented 5 years ago

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"

eakraly commented 5 years ago

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

VladRassokhin commented 5 years ago

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

fopinappb commented 5 months ago

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)