5 ms·
If it's an instance role and you are on the EC2 instance, then "curl http://169.254.169.254/latest/meta-data/iam/security-credentials/XXXX-WAF-Role" http://169
by rectalogic 7y ago
If it's an instance role and you are on the EC2 instance, then "curl http://169.254.169.254/latest/meta-data/iam/security-credentials/XXXX-WAF-Role" http://169.254.169.254/latest/meta-data/iam/security-credent... will return the credentials.