-
| 
         I want to get the value from a secret  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
| 
         Hi @deebify you should be able to use https://druid.apache.org/docs/latest/operations/password-provider nifi.security.user.oidc.client.secret: '{"type":"environment","variable":"DRUID_CLIENT_SECRET"}'and than use an podOverride to mount the env var from a Secret     podOverrides: &pod-overrides
      spec:
        containers:
          - name: druid
            env:
              - name: DRUID_CLIENT_SECRET
                valueFrom:
                  secretKeyRef:
                    name: keycloak-client-secrets
                    key: druidCopied the code from this working example https://github.com/stackabletech/demos/blob/main/stacks/keycloak-opa-poc/druid.yaml @labrenbe would you be willing to update the test you added to pull in the secret securely using this method?  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Ohhh, sorry though this is Druid. Actually let me check for NiFi. It sadly looks like NiFi does not support this :/ So without really hacky workarounds I sadly currently don't see an options to do that, sorry! However, we will add proper OIDC support in stackabletech/nifi-operator#519, which will give a secure way of specifying the credentials.  | 
  
Beta Was this translation helpful? Give feedback.
Ohhh, sorry though this is Druid. Actually let me check for NiFi.
It sadly looks like NiFi does not support this :/ So without really hacky workarounds I sadly currently don't see an options to do that, sorry!
However, we will add proper OIDC support in stackabletech/nifi-operator#519, which will give a secure way of specifying the credentials.