Description
Cloud instance identity, region, networking, and configuration details can be queried from inside a running AWS EC2 instance. It is useful for scripts that adapt behavior to the current instance.
Instance metadata can expose credentials or sensitive infrastructure data depending on configuration. Restrict access and avoid logging secrets.