2026-01-28 19:50:38 -08:00
|
|
|
# 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
|
2026-01-28 20:27:16 -08:00
|
|
|
creationPolicy: Owner
|
2026-01-28 19:50:38 -08:00
|
|
|
data:
|
|
|
|
|
- secretKey: key
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: TeslaMate
|
|
|
|
|
property: api_enc_key
|