mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[GH-ISSUE #414] Parity: Certificate activation toggle (PATCH) #118
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Feb 2, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/414
Overview
Add the ability to update certificate activation status.
Scope (OpenAPI resources)
PATCH /v1/certificates/{id}- updatesactivatedboolean fieldProposed CLI
asc certificates update --id "CERT_ID" --activated trueasc certificates update --id "CERT_ID" --activated falseExamples:
asc certificates update --id "CERT_ID" --activated trueasc certificates update --id "CERT_ID" --activated falseFlag patterns
Common:
--id,--activated,--output,--prettyOutput
--prettyfor JSONDetailed TODO
UpdateCertificateininternal/asc/client_signing.gocertificates updatesubcommandAcceptance criteria
Tests
Implementation notes
activated(boolean)internal/asc/client_signing.goReferences
docs/openapi/paths.txtdocs/openapi/latest.jsoninternal/asc/client_signing.go@rudrankriyam commented on GitHub (Feb 2, 2026):
@cursor please implement this issue. Add the UpdateCertificate client method and the CLI command to toggle the activated flag.
@cursor[bot] commented on GitHub (Feb 2, 2026):
Summary:
UpdateCertificateclient method + request types (includingactivatedin certificate attributes), plus a newasc certificates update --id ... --activated true|falseCLI subcommand and help examples.Tests:
make testgo test ./internal/asc -run TestUpdateCertificate_SendsRequestandgo test ./internal/cli/cmdtest -run TestCertificatesValidationErrorsWalkthrough artifact:
/opt/cursor/artifacts/certificates_update_tests/recording_demo.mp4(terminal run of the two targeted tests above).Note: the mediaReview tool was unavailable, so I couldn’t auto-verify the recording; this is based on the computer-use run report.
@rudrankriyam commented on GitHub (Feb 3, 2026):
Resolved in #418.