8
votes

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.

3

3 Answers

19
votes

I think what you want is

    aws ssm describe-parameters

docs

4
votes
0
votes

If you need to list parameters' name and know the path you could use the following:

aws ssm get-parameters-by-path \
    --path "/my-common-path" \
    --recursive \
    --query "Parameters[*].Name"