Add Bitwarden Secrets Manager provider via external bws (#1416)
* add external bws Bitwarden secrets provider * add self-hosted Bitwarden server support
This commit is contained in:
1 parent
3b43946a38
commit
593659f652
6 files changed
+708
-2
No files matched your search
@@ -31,6 +31,7 @@ export type SecretProviderType =
|
||||
| 'infisical'
|
||||
| 'vault'
|
||||
| 'doppler'
|
||||
| 'bitwarden'
|
||||
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
||||
| (string & {});
|
||||
|
||||
@@ -169,13 +170,21 @@ export interface DopplerConfig {
|
||||
config?: string;
|
||||
}
|
||||
|
||||
/** Bitwarden Secrets Manager: a Machine Account access token. */
|
||||
export interface BitwardenConfig {
|
||||
token: string;
|
||||
/** Optional Bitwarden server base URL for EU or self-hosted instances. */
|
||||
serverUrl?: string;
|
||||
}
|
||||
|
||||
/** Persisted (encrypted) config, discriminated by the provider `type`. */
|
||||
export type SecretProviderConfig =
|
||||
| ServiceAccountConfig
|
||||
| ConnectConfig
|
||||
| InfisicalConfig
|
||||
| VaultConfig
|
||||
| DopplerConfig;
|
||||
| DopplerConfig
|
||||
| BitwardenConfig;
|
||||
|
||||
/**
|
||||
* Config keys that hold a SECRET across every provider type. Only these are stripped
|
||||
|
||||
Reference in new issue
Block a user