Popularity
3.9
Growing
Activity
1.5
Declining
39
17
7
Programming language: Go
License: Apache License 2.0
Tags:
Configuration
Latest version: v0.7.0
go-aws-ssm alternatives and similar packages
Based on the "Configuration" category.
Alternatively, view go-aws-ssm alternatives based on common mentions on social networks and blogs.
-
kelseyhightower/envconfig
Go library for managing configuration data from environment variables. -
konfig
Composable, observable and performant config handling for Go for the distributed processing era. -
koanf
Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line. -
confita
Load configuration in cascade from multiple backends into a struct. -
cleanenv
Minimalistic configuration reader (from files, ENV, and wherever you want). -
config
JSON or YAML configuration wrapper with environment variables and flags parsing. -
gookit/config
application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge. -
hjson
Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments. -
gcfg
read INI-style configuration files into Go structs; supports user-defined types and subsections -
goConfig
Parse a struct as input and populates the fields of this struct with parameters fom command line, environment variables and configuration file. -
joshbetz/config
A small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP. -
harvester
Harvester, a easy to use static and dynamic configuration package supportig seeding, env vars and Consul integration. -
onion
Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP. -
configuro
opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications. -
configure
Provides configuration through multiple sources, including JSON, flags and environment variables. -
configuration
Library for initializing configuration structs from env variables, files, flags and 'default' tag. -
go-up
A simple configuration library with recursive placeholders resolution and no magic. -
hocon
Configuration library for working with the HOCON(a human-friendly JSON superset) format, supports features like environment variables, referencing other values, comments and multiple files. -
Genv
Makes it easy to read and use environment variables in your projects -
CONFLATE
Library providing routines to merge and validate JSON, YAML and/or TOML files -
go-ssm-config
Go utility for loading configuration parameters from AWS SSM (Parameter Store). -
swap
Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env). -
sprbox
Build-environment aware toolbox factory and agnostic config parser (YAML, TOML, JSON and Environment vars). -
typenv
Minimalistic, zero dependency, typed environment variables library. -
gonfig
Tag-based configuration parser which loads values from different providers into typesafe struct. -
nasermirzaei89/env
Simple useful package for read environment variables. -
txgruppi-config
Quick and easy way to load config files based on a simple set of rules. -
gone/jconf
Modular JSON configuration. Keep you config structs along the code they configure and delegate parsing to submodules without sacrificing full config serialization.
Scout APM - Leading-edge performance monitoring starting at $39/month
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of go-aws-ssm or a related project?
Popular Comparisons
README
go-aws-ssm
Go package that interfaces with AWS System Manager.
Why to use go-aws-ssm and not the aws-sdk-go?
This package is wrapping the aws-sdk-go and hides the complexity dealing with the not so Go friendly AWS SDK. Perfect use case for this package is when secure parameters for an application are stored to AWS Parameter Store using a path hierarchy. During application startup you can use this package to fetch them and use them in your application.
Install
go get github.com/PaddleHQ/go-aws-ssm
Examples
Basic Usage
//Assuming you have the parameters in the following format:
//my-service/dev/param-1 -> with value `a`
//my-service/dev/param-2 -> with value `b`
pmstore, err := awsssm.NewParameterStore()
if err != nil {
return err
}
//Requesting the base path
params, err := pmstore.GetAllParametersByPath("/my-service/dev/", true)
if err!=nil{
return err
}
//And getting a specific value
value:=params.GetValueByName("param-1")
//value should be `a`
Integrates easily with viper
//Assuming you have the parameters in the following format:
//my-service/dev/param-1 -> with value `a`
//my-service/dev/param-2 -> with value `b`
pmstore, err := awsssm.NewParameterStore()
if err != nil {
return err
}
//Requesting the base path
params, err := pmstore.GetAllParametersByPath("/my-service/dev/", true)
if err!=nil{
return err
}
//Configure viper to handle it as json document, nothing special here!
v := viper.New()
v.SetConfigType(`json`)
//params object implements the io.Reader interface that is required
err = v.ReadConfig(params)
if err != nil {
return err
}
value := v.Get(`param-1`)
//value should be `a`