-
Notifications
You must be signed in to change notification settings - Fork 51
Authentication Guide
ByoungSeob Kim edited this page Feb 24, 2026
·
5 revisions
This guide describes authentication methods for CB-Spider server configuration and authentication using spctl and curl.
Configure in the ./setup.env file:
export SPIDER_USERNAME=admin
export SPIDER_PASSWORD=your-passwordNote: Password must be changed to a different value
Server restart required after changes
| Method | Description | Usage Example |
|---|---|---|
| Environment Variables (Recommended) | Set environment variables for easy use |
export SPIDER_USERNAME=adminexport SPIDER_PASSWORD=your-password./spctl connection list
|
| Command Flags | Pass credentials directly in command | ./spctl -u admin -p your-password connection list |
- Command flags have higher priority than environment variables
| Method | Description | Usage Example |
|---|---|---|
-u Option |
Pass credentials directly | curl -u admin:your-password http://localhost:1024/spider/connectionconfig |
| Authorization Header | Pass Base64 encoded credentials in header | curl -H 'Authorization: Basic YWRtaW46c2FtcGxl' http://localhost:1024/spider/connectionconfig |
| Operation | Command | Example |
|---|---|---|
| Encoding | echo -n "username:password" | base64 |
admin:sample → YWRtaW46c2FtcGxl
|
| Decoding | echo "encoded-value" | base64 -d |
YWRtaW46c2FtcGxl → admin:sample
|
| Method | Usage Example |
|---|---|
| Web Browser Login | Access http://localhost:1024/spider/adminweb and login |
- Session Validity: 4 hours (Sliding Expiry)
- Logout: Immediate session deletion
- Server Restart: All sessions destroyed
-
Install & Start Guide
-
Usage Guide
- Usage Overview
- Connection Management
- Region/Zone Info
- Quota Info
- VM Price Info
- VM Image Info
- VM Spec Info
- VPC/Subnet Management
- Security Group Management
- KeyPair Management
- VM Management
- Disk Management
- Network Load Balancer(NLB) Management
- Kubernetes Cluster Management
- Object Storage(S3) Management
- Tag Management
- Cloud Driver Capability Info
- Function Menu
- MetaDB Auto Backup
- How to get CSP Credentials
- Tutorials
- Developer Guide
- Cloud Driver Developer Guide
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
- How to ...
- How to Use AWS S3 with Credentials
- How to Use Alibaba ECS i1.* Instance Types
- How to provision GPU VMs
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to get Azure available Regions
- How to profile memory usage in Golang
- [For Cloud-Migrator]