Skip to content

Commit

Permalink
aws secrets manager and parameter store providers added to read me (#186
Browse files Browse the repository at this point in the history
)

* aws secerets manager and parameter store providers added to read me

* minor fix

* third party providers section added

* example readme's added

* read me fixed
  • Loading branch information
gsingh-ds authored Jan 2, 2023
1 parent 35ff732 commit 7c73646
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,12 @@ func main() {
| providers/etcd | `etcd.Provider(etcd.Config{})` | CNCF etcd provider |
| providers/consul | `consul.Provider(consul.Config{})` | Hashicorp Consul provider |

### Third-party providers
| Package | Provider | Description |
| ------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| github.com/defensestation/koanf/providers/secretsmanager | `vault.SecretsMananger(secretsmanager.Config{}, f func(s string) string)` | AWS Secrets Manager provider, takes map or string as a value from store |
| github.com/defensestation/koanf/providers/parameterstore | `vault.ParameterStore(parameterstore.Config{}, f func(s string) string)` | AWS ParameterStore provider, an optional function that takes and returns a string to transform env variables |

### Bundled parsers

| Package | Parser | Description |
Expand Down
4 changes: 4 additions & 0 deletions examples/read-parameterstore/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# AWS Parameter Store Example

## Link
[example](https://github.com/defensestation/koanf/blob/main/examples/read-parameterstore/main.go)
4 changes: 4 additions & 0 deletions examples/read-secretsmanager/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# AWS Secrets Manager Example

## Link
[example](https://github.com/defensestation/koanf/blob/main/examples/read-secretsmanager/main.go)

0 comments on commit 7c73646

Please sign in to comment.