Skip to content

Instantly share code, notes, and snippets.

@jpancoast
Created March 28, 2023 21:38
Show Gist options
  • Save jpancoast/7d5670e8fa5e34ef0f2a995e7cc2d828 to your computer and use it in GitHub Desktop.
Save jpancoast/7d5670e8fa5e34ef0f2a995e7cc2d828 to your computer and use it in GitHub Desktop.
Get a json document of all the possible AWS IAM actions
#!/bin/bash
#
# Code basically from here:
# https://stackoverflow.com/a/70126555/1299336
#
curl --silent --compressed 'https://awspolicygen.s3.amazonaws.com/js/policies.js' | cut -d= -f2 | jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment