mayankmurari commented on issue #12285: URL: https://github.com/apache/apisix/issues/12285#issuecomment-2943485531
Hi @Baoyuantop Thanks for your inputs. I am able to load secret data in APISIX plugin using ENV variable. Setting env variable from secret key reference. ```yaml env: - name: BASIC_AUTH_PASSWORD valueFrom: secretKeyRef: name: apisix-app key: apisix-keyauth-credential Using env variable in APISIX Consumer - username: testuser plugins: basic-auth: username: jack2020 password: $ENV://BASIC_AUTH_PASSWORD Can I not use secret key reference directly in APISIX consumers? - username: testuser plugins: basic-auth: username: jack2020 password: secretRef: name: apisix-app key: apisix-keyauth-credential -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org