Repository navigation
[codex] Add AgentTeams STS auth compatibility - #85
Conversation
Change-Id: I8a631641a759fd03b83d2fac1107484a11f37ea0
|
I found one compatibility regression around profile loading. Before this PR, This can break existing usage such as: nacos-cli --auth-type aliyun skill-list
# or
nacos-cli --auth-type nacos skill-listIf the profile already contains Could we narrow this condition to only the STS auth types that need env-based bootstrap, for example |
Change-Id: I4d8077cb078eee5b1cfb22f411fafd8eea413cd6
|
Thanks for catching this. Fixed in c70bd49 by narrowing the profile-skip condition to STS auth types only. Explicit Validation: |
Summary
Add
sts-agentteamsas an AgentTeams-compatible STS auth type while keeping the existing STS credential refresh and SPAS signing flow unchanged.Changes
sts-agentteamsin CLI flags, env auth type, profile config, and interactive profile prompts.AGENTTEAMS_CONTROLLER_URLandAGENTTEAMS_AUTH_TOKEN_FILEforsts-agentteams.AGENTTEAMS_CLUSTER_IDfor the optional STS cluster header insts-agentteamsmode.sts-hiclawbehavior on the existingHICLAW_*variables.Validation
go test ./cmd ./internal/client ./internal/config ./internal/terminalgo test ./...