Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/akupila/ssm

Package ssm provides a way to read config values from AWS Systems Manager Parameter Store. Struct tags determine what parameters to get from SSM: The name of the struct tag to use can be set by passing WithTag to NewParamStore. Defaults to `ssm`. Nested struct value are allowed. When present, the name to read from SSM is constructed by the path to the value: The behavior can be modified by passing options to NewParamStore. If no options are passed, the external aws config is read for the SSM client, and ssm is used as the struct tag. WithPrefix allows all keys to be prefixed with a value. Given the following structure in SSM: The values can be read for myapp using WithPrefix("dev/myapp"): WithDecryption(true) allows decrypting encrypted SecureString parameters. The caller must have access to use the attached KMS key to decrypt the values. Times and durations can be parsed using WithParseTime and WithParseDuration. If the parameter type is StringList, the value can be assigned to a slice. Conversion rules apply to items within the slice, allowing for example []int to be used. https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/akupila/ssm
Keywords: aws, config, go, golang, ssm
License: MIT
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/akupila
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago

    Loading...
    Readme
    Loading...