Skip to main content

API Keys

![Figure Needed] API key management interface showing key creation, revocation, and usage statistics

Create and manage API keys to integrate external systems with VNETWORK services using Bearer Token authentication and RESTful API endpoints.

Key Management

Access API Keys from the left navigation menu. The interface displays:

  • Current API keys with creation dates and usage status
  • Create New Key, Revoke, and Copy actions
  • Account information and key statistics
Security

API keys are not displayed again after closing. Save immediately after creation.

API Usage

Authentication

Use Bearer Token authentication:

Authorization: Bearer YOUR_API_KEY_HERE

Endpoints

  • Base URL: https://openapi.vnetwork.vn/v1
  • Example: https://openapi.vnetwork.vn/v1/instances - Get account instances

Testing Example

curl -X GET https://openapi.vnetwork.vn/v1/instances \
-H "Authorization: Bearer YOUR_API_KEY_HERE" \
-H "Content-Type: application/json"

Documentation: Complete API reference

Security Best Practices

Key Security
  • Store keys securely using environment variables or vaults
  • Never expose keys in client-side code or public repositories
  • Rotate keys periodically for enhanced security

Common Use Cases

  • System Integration: Connect management systems with VNETWORK infrastructure
  • DevOps Automation: Automate resource management in CI/CD pipelines
  • Monitoring: Collect performance metrics and system status
  • Resource Management: Automatically scale resources based on demand