Skip to content

Commit

Permalink
{AKS} Remove tokens from recordings (Azure#7703)
Browse files Browse the repository at this point in the history
  • Loading branch information
FumingZhang authored and t-lstauber committed Jul 14, 2024
1 parent 983b9b4 commit 03d69e6
Show file tree
Hide file tree
Showing 7 changed files with 4,000 additions and 4,812 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,35 +1,4 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Metadata:
- 'true'
User-Agent:
- python/3.8.10 (Linux-6.5.0-1021-azure-x86_64-with-glibc2.29) msrest/0.7.1
msrest_azure/0.6.4
method: GET
uri: http://169.254.169.254/metadata/identity/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01&msi_res_id=%2Fsubscriptions%2F2b915285-1302-4a0f-8b54-f502a6b619a6%2FresourceGroups%2FInfrastructures%2Fproviders%2FMicrosoft.ManagedIdentity%2FuserAssignedIdentities%2Faksdevinfra1esagentpool
response:
body:
string: '{"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkwxS2ZLRklfam5YYndXYzIyeFp4dzFzVUhIMCIsImtpZCI6IkwxS2ZLRklfam5YYndXYzIyeFp4dzFzVUhIMCJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzE2NDEzNjkyLCJuYmYiOjE3MTY0MTM2OTIsImV4cCI6MTcxNjUwMDM5MiwiYWlvIjoiRTJOZ1lQaTNNYjhxTmpLd09hTnQrM0V2aGplNUFBPT0iLCJhcHBpZCI6IjcwNWFjMDAwLWJmNjctNGVlZC05YmEwLTllZTcyM2RmMjgzYSIsImFwcGlkYWNyI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ZfnMNqDBNTKgsKDpcJUn-VH_gO5IQVEHOPCoL6-gx6cX2lKURN7AggCyyjgbkl2gnTClqJcmJXkmi87_fI6_x-cVpS3k9FQtUpl_GmTuIooGncLpqYI5JKkBmiyb-74zoyXnC0ZyiuXToqTH69IUmeaejxJbEJ9ufG588PrpDo3jReoR-C4slKjgC5AsdDsH_bui8D3CzkyyhhuWvQhVLGmJqBnSxCnIIlWZeOlCriYsq4KbBD30ChubFavw","client_id":"705ac000-bf67-4eed-9ba0-9ee723df283a","expires_in":"86376","expires_on":"1716500392","ext_expires_in":"86399","not_before":"1716413692","resource":"https://management.core.windows.net/","token_type":"Bearer"}'
headers:
content-length:
- '2036'
content-type:
- application/json; charset=utf-8
date:
- Wed, 22 May 2024 21:40:16 GMT
server:
- IMDS/150.870.65.1278
status:
code: 200
message: OK
- request:
body: null
headers:
Expand All @@ -49,21 +18,22 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/meshRevisionProfiles?api-version=2024-03-02-preview
response:
body:
string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/meshRevisionProfiles/istio\",\n
\ \"name\": \"istio\",\n \"type\": \"Microsoft.ContainerService/locations/meshRevisionProfiles\",\n
\ \"properties\": {\n \"meshRevisions\": [\n {\n \"revision\":
\"asm-1-19\",\n \"upgrades\": [\n \"asm-1-20\"\n ],\n \"compatibleWith\":
[\n {\n \"name\": \"kubernetes\",\n \"versions\": [\n
\ \"1.25\",\n \"1.26\",\n \"1.27\",\n \"1.28\"\n
\ ]\n }\n ]\n },\n {\n \"revision\": \"asm-1-20\",\n
\ \"upgrades\": [\n \"asm-1-21\"\n ],\n \"compatibleWith\":
[\n {\n \"name\": \"kubernetes\",\n \"versions\": [\n
\ \"1.25\",\n \"1.26\",\n \"1.27\",\n \"1.28\",\n
\ \"1.29\"\n ]\n }\n ]\n },\n {\n \"revision\":
\"asm-1-21\",\n \"compatibleWith\": [\n {\n \"name\":
\"kubernetes\",\n \"versions\": [\n \"1.26\",\n \"1.27\",\n
\ \"1.28\",\n \"1.29\"\n ]\n }\n ]\n
\ }\n ]\n }\n }\n ]\n }"
string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/meshRevisionProfiles/istio\"\
,\n \"name\": \"istio\",\n \"type\": \"Microsoft.ContainerService/locations/meshRevisionProfiles\"\
,\n \"properties\": {\n \"meshRevisions\": [\n {\n \"revision\"\
: \"asm-1-19\",\n \"upgrades\": [\n \"asm-1-20\"\n ],\n\
\ \"compatibleWith\": [\n {\n \"name\": \"kubernetes\"\
,\n \"versions\": [\n \"1.25\",\n \"1.26\",\n \
\ \"1.27\",\n \"1.28\"\n ]\n }\n ]\n\
\ },\n {\n \"revision\": \"asm-1-20\",\n \"upgrades\"\
: [\n \"asm-1-21\"\n ],\n \"compatibleWith\": [\n \
\ {\n \"name\": \"kubernetes\",\n \"versions\": [\n \
\ \"1.25\",\n \"1.26\",\n \"1.27\",\n \"1.28\"\
,\n \"1.29\"\n ]\n }\n ]\n },\n {\n\
\ \"revision\": \"asm-1-21\",\n \"compatibleWith\": [\n \
\ {\n \"name\": \"kubernetes\",\n \"versions\": [\n \
\ \"1.26\",\n \"1.27\",\n \"1.28\",\n \"1.29\"\
\n ]\n }\n ]\n }\n ]\n }\n }\n ]\n }"
headers:
cache-control:
- no-cache
Expand Down
Loading

0 comments on commit 03d69e6

Please sign in to comment.