1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/pkg/provider/bitwarden
Gergely Brautigam 82d419e2ee
feat: add CAProvider to Bitwarden provider (#3699)
* feat: add CAProvider to bitwarden

This change introduces a refactor as well since CAProvider
was used by multiple providers with diverging implementations.
The following providers were affected:
- webhook
- akeyless
- vault
- conjur
- kubernetes

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

* refactored the Kubernetes provider to use create ca

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

* refactor webhook, vault and kubernetes provider

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

* rename CreateCACert to FetchCACertFromSource

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

* addressed comments and autodecoding base64 data

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

* check if the decoded value is a valid certificate

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

---------

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
2024-08-16 12:32:35 +02:00
..
bitwarden_sdk.go feat: add CAProvider to Bitwarden provider (#3699) 2024-08-16 12:32:35 +02:00
bitwarden_sdk_test.go feat: add bitwarden secret manager support (#3603) 2024-06-28 06:04:25 +02:00
client.go feat: add CAProvider to Bitwarden provider (#3699) 2024-08-16 12:32:35 +02:00
client_test.go feat: add bitwarden secret manager support (#3603) 2024-06-28 06:04:25 +02:00
fake_client.go feat: add bitwarden secret manager support (#3603) 2024-06-28 06:04:25 +02:00
provider.go feat: add CAProvider to Bitwarden provider (#3699) 2024-08-16 12:32:35 +02:00