Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws secrets manager and parameter store providers added to read me #186

Merged
merged 5 commits into from Jan 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
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
@@ -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
@@ -0,0 +1,4 @@
# AWS Secrets Manager Example

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