nymous / pydantic-vault

A simple extension to Pydantic BaseSettings that can retrieve secrets from Hashicorp Vault
MIT License
52 stars 13 forks source link

Add support for JWT token authentication (e.g. Gitlab) #21

Open vladimir-kotikov opened 1 year ago

vladimir-kotikov commented 1 year ago

This is useful mostly for authenticating in Gitlab pipelines but can also me used with any other JWT authentication method

vladimir-kotikov commented 1 year ago

@nymous thanks for your work! Any chance this PR can be reviewed and merged soon?

nymous commented 1 year ago

Hey! Thank you for your contribution! I will try to take a look at it before the end of August, hopefully I can use some of the holidays to my advantage ^^' If I can I will release it before the Pydantic v2 version, as it is useful on its own, I think it will be easier and I hope it won't interfere much with the other PR (I haven't looked at either yet).

vladimir-kotikov commented 1 year ago

Hey, absolutely no worries! I just wanted to remind to make sure this is not abandoned. If you decide to release the other one first, just ping me to resolve any conflicts with this PR.