Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List all parameters in AWS SSM Parameter Store

How do I list all parameters in the AWS Systems Manager (SSM) Parameter Store? I am using the AWS CLI.

I can store them with aws ssm put-parameter. I can fetch them with aws ssm get-parameter. I can list all documents with aws ssm list-documents, but I do not see a corresponding list-parameters function.

like image 416
drhagen Avatar asked Mar 05 '19 21:03

drhagen


People also ask

Where are SSM parameters stored?

We can store these parameters in SSM, as encrypted secure strings, under a common path: /app/production/db/{DB_NAME, DB_USERNAME, DB_PASSWORD, DB_HOST} . Naturally, different environments will get different paths — with testing, staging etc.

How many parameters does AWS have?

You can have a maximum of 200 parameters in an AWS CloudFormation template.

Where is AWS parameter store?

Open the AWS Systems Manager console at https://console.aws.amazon.com/systems-manager/ . In the navigation pane, choose Parameter Store. If the AWS Systems Manager home page opens first, choose the menu icon ( ) to open the navigation pane, and then choose Parameter Store.


1 Answers

I think what you want is

    aws ssm describe-parameters

docs

like image 112
marcincuber Avatar answered Sep 18 '22 13:09

marcincuber