Loading...
Loading...
arkcli authentication management: interactive login, Volc SSO login, status checks, logout, generating ARK API Keys (apikey), and non-interactive bootstrapping of a platform profile on cloud development machines/CI via `arkcli init-volc` from `VOLC_INIT_*` environment variables. Since 0.1.16, SSO login follows Gate 1+2 to automatically bind Profile facets (type/region/project/owner_trn); the AK/SK login channel is temporarily disabled. Use this when users need to initialize credentials, troubleshoot authentication issues, switch authentication methods, generate or reselect an ARK API Key, or perform non-interactive bootstrapping in an environment where credentials have already been injected. Anti-trigger: when users ask about TTS/ASR/speech model capabilities, integration, or invocation, do not direct them to `auth apikey`; use models search for discovery. For TTS on Volcengine Agent Plan Personal/Enterprise, use `arkcli-gen`'s `+gen --modality audio`; for native ASR, use the WS entry point of `arkcli-understand`.
npx skill4agent add volcengine/ark-cli arkcli-auth../arkcli-shared/SKILL.mdauth--dry-runLastAccessTimeCreateTimeActiveis_default profile.OwnerTrnBuildFirstProfileGUIDE_SKIPdocs/runtime/volc-sso.mdauth login --access-key / --secret-keyarkcli auth login --no-browserauth statusauth whoamiactive_profile.{name,type,region,project,owner_trn}profiles_summary[...]auth_method/logged_in/volc_sso/ark_api_keyarkcli profileconfig init/list/show/switch/delete../arkcli-config/SKILL.mdBuildFirstProfileListProjectsdefaultarkcli profile project [<name>]../arkcli-profile/SKILL.mdarkcli auth loginve >= 1.0.45ve loginidentity_store/<key>/metadata.json.source="ve"auth_method"sts""sso"logged_in=truereferences/arkcli-auth-login.mdarkcliarkcli auth whoamiVOLC_INIT_*arkcli init-volcVOLC_INIT_*arkcli init-volcauth logininit-volcauth loginreferences/arkcli-auth-init-volc.mdstage=authorize_pendingauth loginconfig initauth statuslogged_in=falsearkcli auth statusarkcli auth whoami~/.arkcli/.envarkcli auth login volc-ssotimeout=600000openarkcli auth login volc-sso--no-browser--no-browser读取授权码失败: EOFarkcli auth login --no-browser{"stage":"authorize_pending","authorize_url":"...","next_command":"..."}authorize_urlarkcli auth login --no-browser --code <authorization code>--code--no-browser--code 仅在 --no-browser 模式下有效~/.arkcli/.sso-pending.jsonHOME没有待完成的…会话~/.arkcli/--no-browser--codeauth loginvolc-ssoarkcli auth login --no-browser--no-browser--code会话过期(TTL 10min)没有待完成的会话base64 解码失败state 不匹配(CSRF)authorize_urlarkcli auth login --no-browserarkcli auth loginarkcli auth logoutauth statusloginauth logoutauth statusproject_nameauth loginauth_methodarkcli auth login volc-ssoarkcli auth apikeysubplatformcoding-planagent-planScene=RealAgentPlanPersonalagent-plan-teamcoding-plan-teamGetSeatInfoCreateApiKeyRestrictedve loginarkcli auth loginreferences/arkcli-auth-login.mdtoken.jsonsts.jsonmetadata.json.source="ve"auth whoamiauth_method="sts""sso"arkcli auth apikeyprofile apikey refreshauth apikeysaved=true+chat+gen+deploy+code-exampleusagepricingarkcli auth apikey createrequires_confirmationCreateApiKeyprofile apikey refresh/usearkcli-gen+gen --modality audioauth apikey+understand asr/asr-align --audio-protocol ws-bidirectional|ws-unidirectionalarkcli api apikey.list --params '{"PageSize":100}' --page-all --format jsonauth apikeyark_api_keyauth statusarkcli-modelsarkcli-chatarkcli-genarkcli-deployarkcli-usage../arkcli-config/SKILL.md| What the user says | Which command/skill to use |
|---|---|
| "Who am I / my identity / current user / which account / my own IAM user ID" | |
| "Find colleague zhangsan's IAM user ID / find another person's IAM user ID" | Transfer to |
| "API Key leaked / deprecate an old Key / replace it / rotate the API Key" | Transfer to |
| "The command suddenly reports that the Key is invalid / 401 / InvalidApiKey even though I never changed it" (suspected backend rotation) | Transfer to |
| "Show the account's Keys / list Keys / list only without switching" | |
| "Show the current Profile's Key inventory" | Transfer to |
| "Switch the default Key / use another Key" | Transfer to |
| "Create an ordinary API Key" | |
| "AK/SK login / access key / secret key" | Explain that the channel is temporarily disabled: the AK/SK login channel is temporarily closed in the current version. Use SSO login by running |
| Command | Description |
|---|---|
| View the current authentication state and credential health |
| View the currently authenticated identity, such as the username, IAM user ID, or account ID; intended for scripts and Skills |
| Interactively select a login method: Volcengine SSO in a browser or Volcengine SSO without a browser |
| Browser-based SSO login |
| Browserless SSO for cross-device use. In a TTY, this is one interactive command for pasting the code. In a non-TTY environment such as an agent or sandbox, Phase 1 prints the URL and |
| Browserless SSO Phase 2: feed the base64 authorization code back to complete login. This is the second step of the two-stage agent/sandbox flow |
arkcli auth apikeyarkcli auth apikey createarkcli auth logoutreferences/arkcli-auth-login.mdreferences/arkcli-auth-status.mdreferences/arkcli-auth-whoami.md