Skip to content

Instantly share code, notes, and snippets.

@hoto
Created October 5, 2018 16:15
Show Gist options
  • Select an option

  • Save hoto/b1dec69d8e29f7cc6c364c0ca6e22f6e to your computer and use it in GitHub Desktop.

Select an option

Save hoto/b1dec69d8e29f7cc6c364c0ca6e22f6e to your computer and use it in GitHub Desktop.

Revisions

  1. hoto created this gist Oct 5, 2018.
    3 changes: 3 additions & 0 deletions aws-retrievie-credentials-from-metadata.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #Retrieving Security Credentials from Instance Metadata

    curl http://169.254.169.254/latest/meta-data/iam/security-credentials/<role_name>