mirror of
https://git.freebsd.org/ports.git
synced 2025-05-19 10:33:12 -04:00
Pydantic-Vault is a simple extension to Pydantic BaseSettings that can retrieve secrets stored in Hashicorp Vault With Pydantic and Pydantic-Vault, you can easily declare your configuration in a type-hinted class, and load configuration from environment variables or Vault secrets. Pydantic-Vault will work the same when developing locally (where you probably login with the Vault CLI and your own user account) and when deploying in production (using a Vault Approle or Kubernetes authentication for example).
8 lines
512 B
Text
8 lines
512 B
Text
Pydantic-Vault is a simple extension to Pydantic BaseSettings that can retrieve
|
|
secrets stored in Hashicorp Vault
|
|
|
|
With Pydantic and Pydantic-Vault, you can easily declare your configuration in a
|
|
type-hinted class, and load configuration from environment variables or Vault
|
|
secrets. Pydantic-Vault will work the same when developing locally (where you
|
|
probably login with the Vault CLI and your own user account) and when deploying
|
|
in production (using a Vault Approle or Kubernetes authentication for example).
|