https://github.com/waelson/node-aws-ssm
Simple application that shows the integration with the AWS SSM service
https://github.com/waelson/node-aws-ssm
Last synced: about 2 months ago
JSON representation
Simple application that shows the integration with the AWS SSM service
- Host: GitHub
- URL: https://github.com/waelson/node-aws-ssm
- Owner: Waelson
- Created: 2021-05-13T19:26:35.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-13T19:42:18.000Z (about 5 years ago)
- Last Synced: 2025-02-24T15:22:04.164Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
Simple application that shows the integration with the AWS SSM service
---
### Pre Requirements
- You must have an AWS account
- You must have IAM permission to write and read in SSM (see policy.json file in the repository)
## Steps
### 1 - Cloning project
```bash
git clone https://github.com/Waelson/Node-AWS-SSM.git
```
### 2 - Install dependencies
```bash
cd Node-AWS-SSM
```
Install all libraries
```bash
npm i
```
### 3 - Storing parameters
```bash
aws ssm put-parameter --name /config/database/user --value SVC_User --type String
```
### 4 - Setting environment variables
```bash
export AWS_REGION =
export AWS_ACCESS_KEY =
export AWS_SECRET_ACCESS_KEY =
```
### 5 - Accessing application
```bash
curl http://localhost:3000
```
Output
```json
{
"name": "/config/database/user",
"value":"SVC_User"
}
```