Skip to content

Commit b4f5b4b

Browse files
committed
fix scan credential
1 parent 56a4847 commit b4f5b4b

12 files changed

+402
-402
lines changed

src/containerapp/azext_containerapp/tests/latest/recordings/test_container_acr.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ interactions:
626626
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/containerapp000003/listCredentials?api-version=2025-03-01-preview
627627
response:
628628
body:
629-
string: '{"username":"containerapp000003","passwords":[{"name":"password","value":"n2xIpPzzQe+vAdFiR22nvcc4CmjR6x+qmOgKqC8Tye+ACRA5q/8g"},{"name":"password2","value":"J/cKlebWQ35x7A18Vp0hmVXng6PgJ8QyPkoZhRb2f1+ACRDz10hR"}]}'
629+
string: '{"username":"containerapp000003","passwords":[{"name":"password","value":"***"},{"name":"password2","value":"***"}]}'
630630
headers:
631631
api-supported-versions:
632632
- 2025-03-01-preview
@@ -1405,7 +1405,7 @@ interactions:
14051405
body: '{"location": "North Central US (Stage)", "identity": null, "properties":
14061406
{"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/client.env_rg_northcentralusstage/providers/Microsoft.App/managedEnvironments/env-northcentralusstage",
14071407
"configuration": {"secrets": [{"name": "containerapp000003azurecrio-containerapp000003",
1408-
"value": "n2xIpPzzQe+vAdFiR22nvcc4CmjR6x+qmOgKqC8Tye+ACRA5q/8g"}], "activeRevisionsMode":
1408+
"value": "***"}], "activeRevisionsMode":
14091409
"single", "ingress": null, "dapr": null, "registries": [{"server": "containerapp000003.azurecr.io",
14101410
"username": "containerapp000003", "passwordSecretRef": "containerapp000003azurecrio-containerapp000003"}],
14111411
"targetLabel": null, "service": null}, "template": {"revisionSuffix": null,
@@ -3726,7 +3726,7 @@ interactions:
37263726
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-e2e000004/listSecrets?api-version=2025-07-01
37273727
response:
37283728
body:
3729-
string: '{"value":[{"name":"containerapp000003azurecrio-containerapp000003","value":"n2xIpPzzQe+vAdFiR22nvcc4CmjR6x+qmOgKqC8Tye+ACRA5q/8g"}]}'
3729+
string: '{"value":[{"name":"containerapp000003azurecrio-containerapp000003","value":"***"}]}'
37303730
headers:
37313731
api-supported-versions:
37323732
- 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview,
@@ -3787,7 +3787,7 @@ interactions:
37873787
"containerapp-e2e000004--0000001", "latestReadyRevisionName": "containerapp-e2e000004--jwbhuct",
37883788
"latestRevisionFqdn": "", "customDomainVerificationId": "0D108ECDA67B783F7DC96F63AAF576B6328A7CB93E31A11DBC67A93D88D8E7F8",
37893789
"configuration": {"secrets": [{"name": "containerapp000003azurecrio-containerapp000003",
3790-
"value": "n2xIpPzzQe+vAdFiR22nvcc4CmjR6x+qmOgKqC8Tye+ACRA5q/8g"}, {"name": "newsecret",
3790+
"value": "***"}, {"name": "newsecret",
37913791
"value": "test", "keyVaultUrl": "", "identity": ""}], "activeRevisionsMode":
37923792
"Single", "ingress": null, "registries": [{"server": "containerapp000003.azurecr.io",
37933793
"username": "containerapp000003", "passwordSecretRef": "containerapp000003azurecrio-containerapp000003",
@@ -4566,7 +4566,7 @@ interactions:
45664566
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp-e2e000004/listSecrets?api-version=2025-07-01
45674567
response:
45684568
body:
4569-
string: '{"value":[{"name":"newsecret","value":"test"},{"name":"containerapp000003azurecrio-containerapp000003","value":"n2xIpPzzQe+vAdFiR22nvcc4CmjR6x+qmOgKqC8Tye+ACRA5q/8g"}]}'
4569+
string: '{"value":[{"name":"newsecret","value":"test"},{"name":"containerapp000003azurecrio-containerapp000003","value":"***"}]}'
45704570
headers:
45714571
api-supported-versions:
45724572
- 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview,

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_msi_custom_domains.yaml

Lines changed: 84 additions & 84 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_manualjob_private_registry_port.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ interactions:
925925
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/acr000002/listCredentials?api-version=2025-03-01-preview
926926
response:
927927
body:
928-
string: '{"username":"acr000002","passwords":[{"name":"password","value":"fS6GxJ7VjH+FWei1juvl31wKMnDhwPz2o4GW0+HZQG+ACRDgCSWM"},{"name":"password2","value":"43uug/HhGuIF/enZ2LVTe7dJUpuboJT3Q6pQISYx4h+ACRD7tEXw"}]}'
928+
string: '{"username":"acr000002","passwords":[{"name":"password","value":"***"},{"name":"password2","value":"***"}]}'
929929
headers:
930930
api-supported-versions:
931931
- 2025-03-01-preview
@@ -1710,7 +1710,7 @@ interactions:
17101710
body: '{"location": "North Central US (Stage)", "identity": {"type": "None", "userAssignedIdentities":
17111711
null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/client.env_rg_northcentralusstage/providers/Microsoft.App/managedEnvironments/env-northcentralusstage",
17121712
"configuration": {"secrets": [{"name": "acr000002azurecrio-443-acr000002", "value":
1713-
"fS6GxJ7VjH+FWei1juvl31wKMnDhwPz2o4GW0+HZQG+ACRDgCSWM"}], "triggerType": "schedule",
1713+
"***"}], "triggerType": "schedule",
17141714
"replicaTimeout": 200, "replicaRetryLimit": 2, "manualTriggerConfig": null,
17151715
"scheduleTriggerConfig": {"replicaCompletionCount": 1, "parallelism": 1, "cronExpression":
17161716
"*/10 * * * *"}, "eventTriggerConfig": null, "registries": [{"server": "acr000002.azurecr.io:443",

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_manualjob_registry_acr_look_up_credentical.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ interactions:
925925
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/acr000003/listCredentials?api-version=2025-03-01-preview
926926
response:
927927
body:
928-
string: '{"username":"acr000003","passwords":[{"name":"password","value":"gTYW8BwWuZZD16/EG7yBF/1uFppj9db4CR3R0qziIL+ACRBpTfgo"},{"name":"password2","value":"7B+n4V9gdaOkrGsMf3hHILPU25JqNi6dPSD8U4NyOB+ACRAs3uro"}]}'
928+
string: '{"username":"acr000003","passwords":[{"name":"password","value":"***"},{"name":"password2","value":"***"}]}'
929929
headers:
930930
api-supported-versions:
931931
- 2025-03-01-preview
@@ -1821,7 +1821,7 @@ interactions:
18211821
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/acr000003/listCredentials?api-version=2025-04-01
18221822
response:
18231823
body:
1824-
string: '{"username":"acr000003","passwords":[{"name":"password","value":"gTYW8BwWuZZD16/EG7yBF/1uFppj9db4CR3R0qziIL+ACRBpTfgo"},{"name":"password2","value":"7B+n4V9gdaOkrGsMf3hHILPU25JqNi6dPSD8U4NyOB+ACRAs3uro"}]}'
1824+
string: '{"username":"acr000003","passwords":[{"name":"password","value":"***"},{"name":"password2","value":"***"}]}'
18251825
headers:
18261826
api-supported-versions:
18271827
- '2025-04-01'
@@ -1858,7 +1858,7 @@ interactions:
18581858
body: '{"location": "North Central US (Stage)", "identity": {"type": "None", "userAssignedIdentities":
18591859
null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/client.env_rg_northcentralusstage/providers/Microsoft.App/managedEnvironments/env-northcentralusstage",
18601860
"configuration": {"secrets": [{"name": "acr000003azurecrio-acr000003", "value":
1861-
"gTYW8BwWuZZD16/EG7yBF/1uFppj9db4CR3R0qziIL+ACRBpTfgo"}], "triggerType": "schedule",
1861+
"***"}], "triggerType": "schedule",
18621862
"replicaTimeout": 200, "replicaRetryLimit": 2, "manualTriggerConfig": null,
18631863
"scheduleTriggerConfig": {"replicaCompletionCount": 1, "parallelism": 1, "cronExpression":
18641864
"*/10 * * * *"}, "eventTriggerConfig": null, "registries": [{"server": "acr000003.azurecr.io",

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_private_registry_port.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ interactions:
925925
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/acr000003/listCredentials?api-version=2025-03-01-preview
926926
response:
927927
body:
928-
string: '{"username":"acr000003","passwords":[{"name":"password","value":"rwIhb0iE6OlFIsooPrg2D20dJYCrzrgfNpqb0cQXVp+ACRCQcXi3"},{"name":"password2","value":"ZvkQ2WB3eyBfkg+1IqPqwAYrropF0Iqc5zNtpZoAo8+ACRDq8NIL"}]}'
928+
string: '{"username":"acr000003","passwords":[{"name":"password","value":"***"},{"name":"password2","value":"***"}]}'
929929
headers:
930930
api-supported-versions:
931931
- 2025-03-01-preview
@@ -1707,7 +1707,7 @@ interactions:
17071707
body: '{"location": "North Central US (Stage)", "identity": null, "properties":
17081708
{"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/client.env_rg_northcentralusstage/providers/Microsoft.App/managedEnvironments/env-northcentralusstage",
17091709
"configuration": {"secrets": [{"name": "acr000003azurecrio-443-acr000003", "value":
1710-
"rwIhb0iE6OlFIsooPrg2D20dJYCrzrgfNpqb0cQXVp+ACRCQcXi3"}], "activeRevisionsMode":
1710+
"***"}], "activeRevisionsMode":
17111711
"single", "ingress": {"fqdn": null, "external": true, "targetPort": 80, "transport":
17121712
"auto", "exposedPort": null, "allowInsecure": false, "traffic": null, "customDomains":
17131713
null, "ipSecurityRestrictions": null, "stickySessions": null}, "dapr": null,
@@ -3276,7 +3276,7 @@ interactions:
32763276
body: '{"location": "North Central US (Stage)", "identity": null, "properties":
32773277
{"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/client.env_rg_northcentralusstage/providers/Microsoft.App/managedEnvironments/env-northcentralusstage",
32783278
"configuration": {"secrets": [{"name": "acr000003azurecrio-acr000003", "value":
3279-
"rwIhb0iE6OlFIsooPrg2D20dJYCrzrgfNpqb0cQXVp+ACRCQcXi3"}], "activeRevisionsMode":
3279+
"***"}], "activeRevisionsMode":
32803280
"single", "ingress": {"fqdn": null, "external": true, "targetPort": 80, "transport":
32813281
"auto", "exposedPort": null, "allowInsecure": false, "traffic": null, "customDomains":
32823282
null, "ipSecurityRestrictions": null, "stickySessions": null}, "dapr": null,

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_registry_acr_look_up_credentical.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3500,7 +3500,7 @@ interactions:
35003500
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/acr000003/listCredentials?api-version=2025-04-01
35013501
response:
35023502
body:
3503-
string: '{"username":"acr000003","passwords":[{"name":"password","value":"kkoEJ+EX7TIvWB04Hm7NLJyHGifiBiwEHEPulIsMbQ+ACRAl4CzJ"},{"name":"password2","value":"DL5xmtdCShn3khj6n4+5m5hu8kRsjko6wpxSb326NX+ACRCy6P/E"}]}'
3503+
string: '{"username":"acr000003","passwords":[{"name":"password","value":"***"},{"name":"password2","value":"***"}]}'
35043504
headers:
35053505
api-supported-versions:
35063506
- '2025-04-01'
@@ -3537,7 +3537,7 @@ interactions:
35373537
body: '{"location": "East US", "identity": null, "properties": {"environmentId":
35383538
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/client.env_rg_eastus/providers/Microsoft.App/managedEnvironments/env-eastus",
35393539
"configuration": {"secrets": [{"name": "acr000003azurecrio-acr000003", "value":
3540-
"kkoEJ+EX7TIvWB04Hm7NLJyHGifiBiwEHEPulIsMbQ+ACRAl4CzJ"}], "activeRevisionsMode":
3540+
"***"}], "activeRevisionsMode":
35413541
"single", "ingress": {"fqdn": null, "external": true, "targetPort": 80, "transport":
35423542
"auto", "exposedPort": null, "allowInsecure": false, "traffic": null, "customDomains":
35433543
null, "ipSecurityRestrictions": null, "stickySessions": null}, "dapr": null,

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_registry_msi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2290,7 +2290,7 @@ interactions:
22902290
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/acr000003/listCredentials?api-version=2025-04-01
22912291
response:
22922292
body:
2293-
string: '{"username":"acr000003","passwords":[{"name":"password","value":"CYrEr1HL6KOQipqo9BThfwx6dvgjfw2ox/4IcHiiji+ACRBibS7s"},{"name":"password2","value":"z5co9xXGrS/0oD0k3b+l71Dieh/TRsYYpCgbob1e+g+ACRBln7GY"}]}'
2293+
string: '{"username":"acr000003","passwords":[{"name":"password","value":"***"},{"name":"password2","value":"***"}]}'
22942294
headers:
22952295
api-supported-versions:
22962296
- '2025-04-01'
@@ -2357,7 +2357,7 @@ interactions:
23572357
"latestReadyRevisionName": "app000002--dxof2nq", "latestRevisionFqdn": "app000002--dxof2nq.happywater-81fa545e.eastus.azurecontainerapps.io",
23582358
"customDomainVerificationId": "0D108ECDA67B783F7DC96F63AAF576B6328A7CB93E31A11DBC67A93D88D8E7F8",
23592359
"configuration": {"secrets": [{"name": "acr000003azurecrio-acr000003", "value":
2360-
"CYrEr1HL6KOQipqo9BThfwx6dvgjfw2ox/4IcHiiji+ACRBibS7s"}], "activeRevisionsMode":
2360+
"***"}], "activeRevisionsMode":
23612361
"Single", "targetLabel": "", "revisionTransitionThreshold": null, "ingress":
23622362
{"fqdn": "app000002.happywater-81fa545e.eastus.azurecontainerapps.io", "external":
23632363
true, "targetPort": 80, "exposedPort": 0, "transport": "Auto", "traffic": [{"weight":
@@ -3539,7 +3539,7 @@ interactions:
35393539
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/app000002/listSecrets?api-version=2025-07-01
35403540
response:
35413541
body:
3542-
string: '{"value":[{"name":"acr000003azurecrio-acr000003","value":"CYrEr1HL6KOQipqo9BThfwx6dvgjfw2ox/4IcHiiji+ACRBibS7s"}]}'
3542+
string: '{"value":[{"name":"acr000003azurecrio-acr000003","value":"***"}]}'
35433543
headers:
35443544
api-supported-versions:
35453545
- 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview,
@@ -3613,7 +3613,7 @@ interactions:
36133613
"latestReadyRevisionName": "app000002--dxof2nq", "latestRevisionFqdn": "app000002--dxof2nq.happywater-81fa545e.eastus.azurecontainerapps.io",
36143614
"customDomainVerificationId": "0D108ECDA67B783F7DC96F63AAF576B6328A7CB93E31A11DBC67A93D88D8E7F8",
36153615
"configuration": {"secrets": [{"name": "acr000003azurecrio-acr000003", "value":
3616-
"CYrEr1HL6KOQipqo9BThfwx6dvgjfw2ox/4IcHiiji+ACRBibS7s"}], "activeRevisionsMode":
3616+
"***"}], "activeRevisionsMode":
36173617
"Single", "targetLabel": "", "revisionTransitionThreshold": null, "ingress":
36183618
{"fqdn": "app000002.happywater-81fa545e.eastus.azurecontainerapps.io", "external":
36193619
true, "targetPort": 80, "exposedPort": 0, "transport": "Auto", "traffic": [{"weight":

0 commit comments

Comments
 (0)