GitHunt
SI

Instance Metadata Service

Instance Metadata Service

The Instance Metadata Service (IMDS) is a specialized, internal service available on cloud virtual machines (e.g., AWS EC2, Azure VM) that allows instances to access configuration data about themselves, such as IP addresses, IAM role credentials, and user data

go get github.com/si3nloong/imds

Usage

import "github.com/si3nloong/imds"

func main() {
    instanceID, _ := imds.InstanceID()
    println(instanceID) // A8AE896D-1C03-50A2-83CE-5FB4D52A6442
}

Languages

Go100.0%

Contributors

MIT License
Created December 23, 2025
Updated January 18, 2026
si3nloong/imds | GitHunt