--- apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: rancher-oauth namespace: cattle-system spec: refreshInterval: 1h secretStoreRef: kind: ClusterSecretStore name: vault-backend target: name: rancher-oauth-secret creationPolicy: Owner data: - secretKey: client-id remoteRef: key: secret/rancher-oauth property: client-id - secretKey: client-secret remoteRef: key: secret/rancher-oauth property: client-secret