mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-27 21:23:07 -08:00
a
This commit is contained in:
@@ -205,6 +205,8 @@ The Azure Instance Metadata Service (IMDS) **provides information about running
|
||||
|
||||
Moreover, to contact the metadata endpoint, the HTTP request must have the header **`Metadata: true`** and must not have the header **`X-Forwarded-For`**.
|
||||
|
||||
When requesting an access token to the metadata endpoint, by default the metadata service will use the **system assigned managed identity** to generate the token, if there is any system assigned managed identity. In case there is just **ONE user assigned managed identity**, then this will be used by default. However, in case there is no system assigned managed identity and there are **multiple user assigned managed identities**, then the metadata service will return an error indicating that there are multiple managed identities and it's necessary to **specify which one to use**.
|
||||
|
||||
Check how to enumerate it in:
|
||||
|
||||
{{#ref}}
|
||||
|
||||
Reference in New Issue
Block a user