sagikazarmark / crypt

Store and retrieve encrypted configs from etcd or consul
MIT License
11 stars 15 forks source link

feat: Support ectd config(e.g., username and password) #306

Closed ahuigo closed 2 months ago

ahuigo commented 3 months ago

For https://github.com/sagikazarmark/crypt/issues/305 This PR is used to support ETCD's config(like username and password)

cm, err = crypt.NewStandardEtcdV3ConfigManagerRaw(goetcdv3.Config{
    Endpoints: []string(rp.Endpoint()),
    Username: "my",
    Password: "pass",
})