Skip to content

qingstor-incubating/qingstor-demo-signature-server-go

Repository files navigation

QingStor Demo Signature Server (Go)

Build Status

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.

Getting Started

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

Reference Documentation

LICENSE

The Apache License (Version 2.0, January 2004).

Releases

No releases published

Packages

No packages published