Documentation
¶
Overview ¶
Package imds harvests credentials from cloud instance-metadata services (AWS IMDS, GCP/Azure metadata, Kubernetes in-cluster SA, Alibaba, DigitalOcean, OCI) and normalizes each into a synthetic dotenv blob that geiger's normal recognizers pick up. The metadata fetch is the only place geiger bypasses the SSRF dial guard (see client.go); every harvested credential is then triaged through the unchanged, guarded recon pipeline.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cred ¶
type Cred struct {
Cloud string // "aws" | "gcp" | "azure" | "kubernetes" | "alibaba" | "digitalocean" | "oci"
Label string // provenance, e.g. "metadata: aws instance role ec2-app"
Blob string // synthetic dotenv text the recognizers consume
Secret string // raw secret value (for redaction)
}
Cred is one harvested credential, expressed as a synthetic dotenv blob plus a provenance label, so the standard pipeline (parse.Parse → recognize.Recognize → recon) triages it through the matching module.