apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: postgresql-password namespace: prometheus spec: refreshInterval: 1h secretStoreRef: kind: ClusterSecretStore name: vault-backend target: name: postgresql-password creationPolicy: Owner data: - secretKey: password remoteRef: key: databases/postgresql property: PASSWORD