Questions tagged [aws-parameter-store]

AWS Systems Manager Parameter Store provides secure, hierarchical storage for configuration data management and secrets management. Consider also using the tag aws-ssm.

184 questions
20
votes
2 answers

Parameter store vs AppConfig

When should I use Parameter store for saving configuration vs AppConfig? For example, if I had to change the log level at run time, should that be stored in SSM or Appconfig? What are the pros and cons? What are the differences in these two,…
15
votes
3 answers

How to access the aws parameter store from a lambda using node.js and aws-sdk

I've created a lambda and cloud formation template which grants a lambda access to the parameter store and secrets manager. When I test the lambda I have the following functions outside of the export.handler function: function…
rlcrews
  • 3,482
  • 19
  • 66
  • 116
14
votes
7 answers

How to export parameters from aws parameter store and import into another account

on my first aws account I have parameters specified in the following manner: /config/a => value1 /config/b => value2 /config/c/a => value31 /config/c/b => value32 I want to move these to my second aws account. I created these parameters in the…
13
votes
4 answers

Referencing AWS Parameter Store's Secure String in CloudFormation template

Stuck with the usage of SecureString from AWS Parameter Store. I am trying to refer to the database password as: DatabasePassword: Type: AWS::SSM::Parameter::Value NoEcho: 'true' Default:…
kk.
  • 3,747
  • 12
  • 36
  • 67
13
votes
5 answers

Saving a url to AWS parameter store with aws-cli

Alright, so I'm trying to programmatically store my Serverless generated API endpoint in parameter store for another project to ingest. Just for an example, I'm going to try to store google.com. aws ssm put-parameter --name /dev/someStore --value…
3stacks
  • 1,880
  • 1
  • 16
  • 21
11
votes
1 answer

How can I use AWS Parameter store variables in Elastic Beanstalk Environment Variable?

I have a Spring boot app which connects to PostgreSQL on AWS. I want to store database configuration like DB URL,Username and password on the AWS parameter store as secureStrings. I want to access these parameters from AWS Parameter store in…
9
votes
0 answers

AWS Parameter Store inside docker-compose.yml

I save all secret data into AWS Parameter Store, my app run with docker-compose and I try to evaluate aws ssm get-parameters just inside docker-compose.yaml: version: "3.7" services: db: image: postgres restart: always volumes: …
Pavel
  • 2,005
  • 5
  • 36
  • 68
9
votes
7 answers

Invalid Terraform AWS provider credentials when passing AWS system manager parameter store variables

Background: I'm using an AWS CodeBuild buildspec.yml to iterate through directories from a GitHub repo to apply IaC using Terraform. To access the credentials needed for the Terraform AWS provider, I used AWS system manager parameter store to…
9
votes
3 answers

Spring boot reading parameters from AWS parameter store

I created spring boot(gradle) application, and included dependency: org.springframework.cloud:spring-cloud-starter-aws-parameter-store-config. I want to use AWSSimpleSystemsManagement to read configuration from AWS parameter store, but I am forced…
9
votes
1 answer

creating ssm secure string with cloudformation

since August 2018 AWS CloudFormation supports AWS Systems Manager Secure String Parameters in CloudFormation Templates. I have been searching high and low but wasnt able to find a way to create a ssm-secure-string via Cloudformation like I can do it…
aerioeus
  • 1,348
  • 1
  • 16
  • 41
9
votes
3 answers

How to use dynamic key for `parameter-store` in AWS CodeBuild spec file?

I have a buildspec.yml file in my CodeBuild that I want to read values out of EC2 Systems Manager Parameter Store. CodeBuild supports doing this via the parameter-store attribute in your spec file. Problem is, I can't figure out how to use…
8
votes
3 answers

What's the best way to consume Parameter Store value in AWS CDK

I am having problems using SSM valueForStringParameter method in CDK. It's working the first time I deploy the stack, but it is not picking up updates to the parameter value when I redeploy the stack because CloudFormation template hasn't changed…
Tofig Hasanov
  • 3,303
  • 10
  • 51
  • 81
6
votes
2 answers

Is AWS Parameter store throughput limit for per key or the whole service?

I found the below limit AWS describes for Parameter Store. Default throughput: 40 (Shared by the following API actions: GetParameter, GetParameters, GetParametersByPath) Higher throughput: 100 (GetParametersByPath) Higher throughput: 1000 (Shared…
SangminKim
  • 8,358
  • 14
  • 69
  • 125
6
votes
1 answer

How to access SSM Parameter Store Values through AWS Lambda Function Environment Variables using Serverless Framework?

So I've configured my lambda function's .yaml file like so: AWSTemplateFormatVersion: '2010-09-09' Transform: 'AWS::Serverless-2016-10-31' Description: An AWS Serverless Specification template describing your function. Resources: NewUser: …
6
votes
2 answers

How to maintain secrets used in Dockerfile?

Below is the snippet of docker-compose file having passwords: test: build: ../../ dockerfile: docker/dev/Dockerfile volumes_from: - cache links: - db environment: DJANGO_SETTINGS_MODULE: todobackend.settings.test …
overexchange
  • 15,768
  • 30
  • 152
  • 347
1
2 3
12 13