qianwen-ops-auth

Configure and validate QianWen API keys using environment variables and curl.

67|4|Updated May 9, 2026
One-click install
npx skills add https://github.com/QianWen-AI/qianwen-ai --skill qianwen-ops-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qianwen-ops-auth
Source: https://github.com/QianWen-AI/qianwen-ai/tree/main/skills/ops/qianwen-ops-auth
Command: npx skills add https://github.com/QianWen-AI/qianwen-ai --skill qianwen-ops-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers securely configure and verify credentials for QianWen APIs, preventing unauthorized access and authentication failures.

Core Features & Use Cases

  • Establish and validate API keys (DASHSCOPE_API_KEY / QIANWEN_API_KEY) in environment or .env files.
  • Provide a guided workflow to troubleshoot 401/Unauthorized errors and credential mismatches.
  • Include verification steps and evidence recording to assist troubleshooting and audits.

Quick Start

Configure the environment with a valid API key and verify access using the curl probe.

Frequently Asked Questions about qianwen-ops-auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure QianWen API keys for environment variable access?

To configure QianWen API keys, set the DASHSCOPE_API_KEY or QIANWEN_API_KEY alias in your system environment variables or .env file. This establishes secure credentials for accessing QianWen services across development and production environments.

Why does my QianWen API request return a 401 Unauthorized error?

A 401 Unauthorized error occurs when QianWen API credentials are missing, invalid, or mismatched. You can troubleshoot this by verifying your DASHSCOPE_API_KEY environment variable and running a curl probe to validate the authentication configuration.

What is the best way to verify QianWen API authentication after setup?

The best way to verify QianWen API authentication is by executing a curl-based validation probe. This sends a test request to the QianWen services, confirming your API keys are active and correctly configured in the environment.

Can I use a .env file to manage QianWen API keys for local development?

Yes, you can use a .env file to manage QianWen API keys for local development. The setup supports optional .env integration, allowing you to load the DASHSCOPE_API_KEY or QIANWEN_API_KEY alias directly into your environment variables.

How do I troubleshoot credential mismatches across development and production environments?

To troubleshoot credential mismatches across development and production environments, verify the DASHSCOPE_API_KEY in each specific environment. Use the guided workflow to check for configuration mismatches and record curl verification evidence for audits.