{"id":20611864,"url":"https://github.com/akupila/ssm","last_synced_at":"2026-04-21T19:31:50.608Z","repository":{"id":57488796,"uuid":"205105129","full_name":"akupila/ssm","owner":"akupila","description":"Go package for reading config values from AWS SSM Parameter store","archived":false,"fork":false,"pushed_at":"2019-08-29T20:08:38.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T03:33:38.106Z","etag":null,"topics":["aws","config","go","golang","ssm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akupila.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-29T07:22:47.000Z","updated_at":"2019-08-29T20:08:40.000Z","dependencies_parsed_at":"2022-08-29T15:10:26.608Z","dependency_job_id":null,"html_url":"https://github.com/akupila/ssm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akupila%2Fssm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akupila%2Fssm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akupila%2Fssm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akupila%2Fssm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akupila","download_url":"https://codeload.github.com/akupila/ssm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242259946,"owners_count":20098429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","config","go","golang","ssm"],"created_at":"2024-11-16T10:22:25.791Z","updated_at":"2026-04-21T19:31:45.558Z","avatar_url":"https://github.com/akupila.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ssm [![GoDoc](https://godoc.org/github.com/akupila/ssm?status.svg)](https://godoc.org/github.com/akupila/ssm)\n\n[![GitHub Actions](https://github.com/akupila/ssm/workflows/Test/badge.svg)](https://github.com/akupila/ssm/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/akupila/ssm)](https://goreportcard.com/report/github.com/akupila/ssm)\n[![CodeCov](https://codecov.io/gh/akupila/ssm/branch/master/graphs/badge.svg?branch=master)](https://codecov.io/gh/akupila/ssm)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)\n\nRead config values from [AWS System Manager Parameter Store][1] by names\ndefined using struct tags.\n\n## Example\n\nParameters stored in SSM:\n\n```\n/dev\n  /database\n    /username\n    /password\n    /host\n    /port\n    /name\n  /auth0\n    /domain\n    /client_id\n    /client_secret\n  /another\n    /...\n/prod\n  ...\n```\n\nRead the required `dev` values:\n\n```go\nparams := ssm.NewParamStore(\n    ssm.WithPrefix(\"dev\"),\n    ssm.WithParseNumber(),\n)\n\ntype Config struct {\n    DB struct {\n        User string `ssm:\"username\"`\n        Pass string `ssm:\"password\"`\n        Host string `ssm:\"host\"`\n        Port int    `ssm:\"port\"`\n        Name string `ssm:\"name\"`\n    } `ssm:\"database\"`\n    Auth0 struct {\n        ClientID     string `ssm:\"client_id\"`\n        ClientSecret string `ssm:\"client_secret\"`\n    } `ssm:\"auth0\"`\n    // Fields not included are not read from SSM\n}\n\nvar cfg Config\nif err := params.Read(context.Background(), \u0026cfg); err != nil {\n    // Handle error\n}\n\n// cfg is now ready to use\n```\n\nSee [GoDoc][2] for more details.\n\n[1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html\n[2]: http://godoc.org/github.com/akupila/ssm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakupila%2Fssm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakupila%2Fssm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakupila%2Fssm/lists"}