ikatlinsky opened a new issue, #10597:
URL: https://github.com/apache/apisix/issues/10597

   ### Description
   
   **Description**
   
   
[limit-count](https://github.com/apache/apisix/blob/master/apisix/plugins/limit-count/init.lua)
 plugin has several sensitive properties (contain passwords and username) or 
fields which should be the same for all instances of plugins in side apisix 
server, for example:
   
   - redis_username
   - redis_password
   - redis_host
   - redis_port
   - redis_cluster_nodes
   - redis_cluster_name
   
   **Use case**
   
   We have a single Redis cluster which should be used for all limit-count 
plugins we do not want to duplicate Redis-related settings and we do not want 
to include _redis_password_ directly in configuration scripts which create 
plugins inside routes.
   
   **Proposal**
   
   Make all string and string array properties support environment variables. 
   
   If the property is an environment variable it should be prefixed with _env:_ 
or _$env:_. In other cases, properties will be treated as a plain value.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to