Leap0

Read network metadata

Returns guest-visible network metadata for the current sandbox. Send `Accept: application/json` to receive JSON. Without that header, the metadata service responds in IMDS format.

GET/latest/meta-data/leap0/network

Returns guest-visible network metadata for the current sandbox. Send Accept: application/json to receive JSON. Without that header, the metadata service responds in IMDS format.

Header Parameters

X-metadata-token*string

IMDSv2 session token returned by PUT /latest/api/token.

Accept?string

Use application/json for JSON output. Without it, the metadata service returns IMDS format.

Value in"application/json" | "text/plain"

Response Body

curl -X GET "http://169.254.169.254/latest/meta-data/leap0/network" \  -H "X-metadata-token: string"
{  "dns_resolvers": [    "1.1.1.1",    "8.8.8.8"  ],  "ca_cert_pem": "-----BEGIN CERTIFICATE-----..."}
Empty
Empty