Last active
July 11, 2022 23:21
-
-
Save RhubarbSin/90aacd04066318ee666eba46af22429f to your computer and use it in GitHub Desktop.
Get OCI compute instance metadata
This file contains 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
curl http://169.254.169.254/opc/v1/instance/ | |
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ | |
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/ | |
curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment