Trying to create a secret in Secret Store for z.ai results in a failure
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 345
- Avg merge
- 13h 31m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
Not sure if this is the right place for this, but I was instructed to do so: when trying to create a Provider Key for z.ai in AI Gateway, I get an `Internal error occurred. Please contact customer support for assistance.` when trying to save the API key to the Secrets Store. I'm assuming its because it tries to set the secret name to ${apigateway-name}_glm-4.7_default but you can't use a dot, Only alphanumeric characters, underscores, and dashes are allowed.
**To Reproduce**
Steps to reproduce the behavior:
1. try to create a Provider Key for z.ai
**Expected behavior**
A clear and concise description of what you expected to happen.
Secrets should be properly stored for z.ai
Contributor guide
Research direction
Start by reproducing the z.ai Provider Key creation flow in AI Gateway and inspect how the Secret Store name is generated and validated. Confirm the suspected dot restriction and make the flow store the secret successfully without the internal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100