Azure / Azure/bicep

Container app secret key length limited to 20, but not reported in Bicep

Open
#9,532 1 comment 0 reactions 0 assignees View on GitHub
provider improvement revisit types: swagger inaccuracy
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Bicep version**
Bicep CLI version 0.13.1 (e3ac80d678)

**Describe the bug**
When deploying a container app, the secret key is limited to 20, which is reported by `az containerapp secret set`:

> Secret names cannot be longer than 20

This should also be reported when using Bicep to deploy the container app resource.

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the deployment with Bicep CLI 0.13.1 and compare it with `az containerapp secret set`; done means Bicep reports that container app secret names longer than 20 characters are invalid.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.