mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-01-19 08:00:45 -08:00
Translated ['.github/pull_request_template.md', 'src/README.md', 'src/pe
This commit is contained in:
@@ -12,7 +12,7 @@ Vous pouvez trouver la liste des **portails Microsoft à** [**https://msportals.
|
||||
|
||||
Obtenez **access_token** à partir de **IDENTITY_HEADER** et **IDENTITY_ENDPOINT** : `system('curl "$IDENTITY_ENDPOINT?resource=https://management.azure.com/&api-version=2017-09-01" -H secret:$IDENTITY_HEADER');`.
|
||||
|
||||
Ensuite, interrogez l'API REST Azure pour obtenir l'**ID d'abonnement** et plus.
|
||||
Ensuite, interrogez l'API REST Azure pour obtenir le **ID d'abonnement** et plus.
|
||||
```powershell
|
||||
$Token = 'eyJ0eX..'
|
||||
$URI = 'https://management.azure.com/subscriptions?api-version=2020-01-01'
|
||||
|
||||
Reference in New Issue
Block a user