apiVersion: v1
kind: Secret
metadata:
  name: name
  namespace: default

data:
  key: dGhpc19pc190aGVfdmVyeV9kZWVwX3NlY3JldA==

---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
  name: test-secret
  namespace: default

spec:
  plugin:
    test-secret:
      secret_0:
        secret_1:
          secret_2:
            user: admin
            secret: urn:k8s:secret:name:key
