English | 中文
This project demonstrates how to use qingstor-sdk-go to create the QingStor Demo Signature Server, and a demo client written in Go is also provided.
View QingStor Demo Signature Server API Specs for details about QingStor Signature Server.
Notices:
1. Go & Glide is required
2. The following QingStor Demo Signature Server cannot run on production environment. Otherwise anyone can visit the server and get signed.
Run QingStor Demo Signature Server
$ git clone https://github.com/yunify/qingstor-demo-signature-server-go.git
$ cd qingstor-demo-signature-server-go
# Modify config_server.yaml and replace the access_key_id and secret_access_key with yours
$ cp config_server.yaml.example config_server.yaml
$ glide init
$ glide install
$ make run
Run Client
$ cd your/path/to/qingstor-demo-signature-server-go
# Modify config_client.yaml with your bucket information
$ cp config_client.yaml.example config_client.yaml
$ make test