[BUG] az appconfig kv list fails because of unsupported token audience
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- azure, shell
- Lĩnh vực
- authentication, cloud
Hướng nghiên cứu
The payload names no file, test or entry point in this repository; the rejection comes from the Cloud Shell MSI token audience check, which the payload does not show. Reproduce with az account get-access-token --resource https://appconfig.azure.com in Cloud Shell, then compare with the https://azconfig.io audience that succeeds. Done means the audience question is answered or the fix is located, and this is likely a service-side change rather than a contribution here.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
To Reproduce
In Cloud Shell, use PowerShell with the default sign-in and run:
$ENDPOINT = "https://<store-name>.azconfig.io/"
az appconfig kv list --endpoint $ENDPOINT --auth-mode login
Reading key-values from the same store works in my local Windows CLI.
Observed Behavior
Cloud Shell returns error:
A Cloud Shell credential problem occurred. When you report the issue with the error below, please mention the hostname 'SandboxHost-639274817947608900'
Audience https://zhiyuanliang-free.azconfig.io/ is not a supported MSI token audience.
Run the command below to authenticate interactively; additional arguments may be added as needed:
az logout
az login --scope "https://zhiyuanliang-free.azconfig.io//.default"
Expected behavior
The command should list key-values using Cloud Shell’s default sign-in.
Is this specific to Cloud Shell?
Yes. Both Cloud Shell and my local Windows CLI use Azure CLI 2.90.0.
I checked that both sessions use the same account, tenant, subscription, and App Configuration store. The operation succeeds locally but fails in Cloud Shell.
Interface information
https://portal.azure.com
browser
Additional context
This looks related to #477
App Configuration now documents https://appconfig.azure.com as its public-cloud audience. The older shared audience is https://azconfig.io (which was mentioned in #477). The [Azure python SDK 1.8.0 or later](https://github.com/Azure/azure-sdk-for-python/blob/azure-appconfiguration_1.8.0/sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md) uses https://appconfig.azure.com by default in public Azure. The Azure CLI is built on Azure python SDK
PS /home/zhiyuan> az account get-access-token --resource "https://appconfig.azure.com" --query "{tokenType:tokenType,expiresOn:expiresOn}" --output json
A Cloud Shell credential problem occurred. When you report the issue with the error below, please mention the hostname 'SandboxHost-639274922403092917'
Audience https://appconfig.azure.com is not a supported MSI token audience.
Run the command below to authenticate interactively; additional arguments may be added as needed:
az logout
az login --scope "https://appconfig.azure.com/.default"
PS /home/zhiyuan> az account get-access-token --resource "https://azconfig.io" --query "{tokenType:tokenType,expiresOn:expiresOn}" --output json
{
"expiresOn": "2026-10-13 15:46:29.000000",
"tokenType": "Bearer"
}
PS /home/zhiyuan>
- Ngôn ngữ chính
- PowerShell
- Star
- 273
- Fork
- 116
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/CloudShell
-
bug Triage-needed
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
Azure/CloudShell#655 ·
-
Blood TestĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
Azure/CloudShell#654 · 2 bình luận ·
-
bug Triage-needed
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Azure/CloudShell#653 ·
-
[BUG] Bash session falls back to ephemeral (“Failed to mount the Azure file share”) after $HOME image is attached; intermittent across 5 file shares, 3 storage accounts, 2 subscriptionsCó thể đã có người làm @priyaananthasankar đã nhận 21 ngày trước. Đang mởbug
Azure/CloudShell#648 · 1 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Azure/CloudShell#611 · 5 bình luận · 1 reaction ·
Tất cả issue của Azure/CloudShell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-driven-fuzzing bug claude Minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
linagora/open-bastion#425 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fastify/fastify-swagger-ui#299 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
nolabs-ai/nono-packs#65 ·
-
remove GetMigtdDataĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 2 ngày