# ExternalSecret for TeslaMate encryption key # # Replaces the manual op inject workflow from secret-encryption-key.yaml.tpl # # 1Password item: "TeslaMate" in blumeops vault # Field: "api_enc_key" # # This key encrypts Tesla API tokens at rest in the database. # apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: teslamate-encryption namespace: teslamate spec: refreshInterval: 1h secretStoreRef: kind: ClusterSecretStore name: onepassword-blumeops target: name: teslamate-encryption creationPolicy: Owner data: - secretKey: key remoteRef: key: TeslaMate property: api_enc_key