Fix change-client-secret Copilot review findings from PR #308
Replace the untyped map[string]interface{} request body with a typed struct, and align the command doc page with the standard command-doc template (header + command-reference backlinks, Flags/Global Flags tables, See Also section).
The suggestion to drop the manual X-Identity-Zone-Id header was not applied: api.Curl() bypasses the go-uaa SDK’s structured request path where WithZoneID’s header injection happens, so removing it breaks zone-scoped requests (confirmed by the existing “supports zone switching” test failing once the header was removed).
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
UAA Command Line Interface
CLI for UAA written in golang. This is an alterntive to using uaac which is wirtten in Ruby. At this time it performs a limited subset of the features provided by the uaac gem. The team plans to continue development on the golang CLI going forward, and once it’s considered fully GA, intends to place it alongside uaac with a long-term intention of one day deprecating uaac.
Command Reference
See the Command Reference for the full list of commands and their options.
Goals
cf delete-app.Installation
Install with Go
Install with Homebrew
Install using the Homebrew cask from the cloudfoundry tap:
If upgrading from the old formula-based version, uninstall it first
Building from source
Troubleshooting Installation
If you encounter trust warnings with Homebrew, you can either:
Trust the specific tap (recommended):
Or temporarily disable trust requirements:
Development notes
Setting up Go
If you don’t have a working Go setup
Running the tests