21

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.

drhagen
  • 8,331
  • 8
  • 53
  • 82

3 Answers3

38

I think what you want is

    aws ssm describe-parameters

docs

marcincuber
  • 3,451
  • 1
  • 17
  • 29
9

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"
thoroc
  • 3,291
  • 2
  • 27
  • 34
5

You are looking for describe-parameters.

bwest
  • 9,182
  • 3
  • 28
  • 58