Comments (1)
Yeah, secrets should hidden. I imagine it like following:
// Auth is a structure for holding creds
type Auth struct {
// CH user name
User string `yaml:"user"`
// CH user password
Password string `yaml:"password"`
// Catches all undefined fields
XXX map[string]interface{} `yaml:",inline"`
}
func (a Auth) String() string {
return fmt.Sprintf("user: %q\npassword: <secret>", a.User)
}
func (a Auth) MarshalYAML() (interface{}, error) {
return a.String(), nil
}
Would be great to have this implemented
from chproxy.
Related Issues (20)
- timeout for user errors HOT 2
- 可以支持cpu和mem的metrics收集来做负载均衡吗?
- [BUG] Redis password gets exposed in info logs when redis username is empty HOT 1
- [QUESTION] Custom 401 error page?
- [Feature] <Allow overriding values of allowed parameters at runtime>
- [Feature] Change status code to concurrent query failed on cancelled requests HOT 3
- [Feature] Аdd a metric for clickhouse proxy responses HOT 2
- [QUESTION] may be a bug of proxied_response_duration_seconds metric HOT 1
- [QUESTION] why only one replica node in each shard have a high load? HOT 1
- [BUG] host header on requests to ClickHouse HOT 3
- [BUG] fix linter issues
- [Feature] Fallback/backup node
- [BUG] OOM when clickhouse is slow and a lot of insert queries are sent HOT 4
- [Feature] allow log_comment in query parameters
- [QUESTION] Availability of max_query_size Flag in Chproxy HOT 1
- killQuery needs luck with a TCP-balanced cluster
- why disable docker build for arm HOT 3
- [Feature] Weighted round robin load balancing HOT 1
- [QUESTION] Need some more context on cached_response_duration_seconds HOT 7
- when clickhouse-java compress=1 and query result is empty,then clickhouse jdbc throw Magic is not correct: xx
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chproxy.