diff --git a/infrastructure/bitwarden/clustersecretstore.yaml b/infrastructure/bitwarden/clustersecretstore.yaml new file mode 100644 index 0000000..3b9e57e --- /dev/null +++ b/infrastructure/bitwarden/clustersecretstore.yaml @@ -0,0 +1,17 @@ +apiVersion: external-secrets.io/v1 +kind: ClusterSecretStore +metadata: + name: bitwarden +spec: + provider: + bitwardensecretsmanager: + # This org ID is already used by your Bitwarden operator resources. + organizationID: 0df293ad-6afb-4d0b-b3ff-b41000581de5 + # Set this to your Bitwarden Secrets Manager Project ID. + projectID: cafdbc0f-9d64-47eb-a0f5-b4100059cbc7 + auth: + secretRef: + credentials: + key: token + name: bitwarden-access-token + namespace: security diff --git a/infrastructure/bitwarden/kustomization.yaml b/infrastructure/bitwarden/kustomization.yaml index 4e85bda..59b0a12 100644 --- a/infrastructure/bitwarden/kustomization.yaml +++ b/infrastructure/bitwarden/kustomization.yaml @@ -3,4 +3,5 @@ kind: Kustomization resources: - helmrelease.yaml - bitwardenaccesstoken.enc.yaml + - clustersecretstore.yaml - namespace.yaml \ No newline at end of file