LF-Decentralized-Trust-labs / paladin

Programmable privacy for EVM
https://lf-decentralized-trust-labs.github.io/paladin
Apache License 2.0
15 stars 6 forks source link

Support secrets for paladin #440

Closed dwertent closed 4 days ago

dwertent commented 6 days ago

Overview

This PR introduces support for using external secrets for blockchain authentication. Previously, authentication details were specified within spec.config as a blob. With this update, you can reference a secret by name, and if set, the operator will override any authentication details in the config with the data from the specified secret.

Important Notes

Example Usage

apiVersion: core.paladin.io/v1alpha1
kind: Paladin
spec:
  config: "some blob"
  authConfig:
    authMethod: secret
    authSecret: 
      name: <secret-name>