huaweicloud_auth_switch
Switch Huawei Cloud credentials within the current session. action=temporary keeps AK/SK in memory only (restart loses them; hcloud commands are unaffected and an A+C warning will be raised). action=persist writes S1 (single source of truth) with configuredBySession flag and propagates to S2 (KooCLI current profile) and S3 (OBS). action=clear resets runtime credentials. mode=import reads AK/SK from ~/.config/huaweicloud/creds-import.json then wipes it (SK never enters conversation). mode=memory passes AK/SK as tool arguments (SK is visible to model - prefer import). mode=mcp-config reads the injected mcp_settings environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ak | No | ||
| sk | No | ||
| mode | No | Credential source channel | |
| action | No | Apply scope | |
| region | No | ||
| securityToken | No |