13. Microsoft Entra ID

Опубликовано: 05 Апрель 2026
на канале: Techserverglobal
94
7

Blog URL: https://servertecholab.blogspot.com/
Commands:
1. Command to validate the Access token attached to VM
access_token=$(curl 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https%3A%2F%2Fstorage.azure.com%2F' -H Metadata:true | jq -r '.access_token')

2. Display the attached token
echo $echo $access_token

3. Access the Blob storage content using shell
curl "https://test.blob.core.windows.net/te..." -H "x-ms-version: 2017-11-09" -H "Authorization: Bearer $access_token"