Skip to content

feat(api-keys): bind client keys to the linked project - #97

Merged
akirilyuk merged 1 commit into
mainfrom
feature/client-key-linked-project
Sep 27, 2026
Merged

akirilyuk merged 1 commit into
mainfrom
feature/client-key-linked-project

Conversation

@akirilyuk

Copy link
Copy Markdown
Contributor

Summary

  • voicethere api-keys create --kind client now binds the key to the linked project in .voicethere/config.json when --project-id is omitted.
  • --project-id <uuid> overrides that linked project. Admin keys still reject --project-id.
  • With no linked project and no --project-id, the command tells you to pass the flag or run voicethere projects use <projectId>.

Staging widget-cdn-smoke creates a client key from the suite workdir without --project-id. That starts working once this CLI is published and e2e pins it. The current pin is @voicethere/cli 0.14.5.

Test plan

Verified locally and in CI; no extra manual steps.

Client keys use .voicethere/config.json when --project-id is omitted.
--project-id still overrides that linked project.
@akirilyuk
akirilyuk merged commit a546889 into main Sep 27, 2026
8 checks passed
@akirilyuk
akirilyuk deleted the feature/client-key-linked-project branch September 27, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant