Skip to content

khoi-backyard/go-secret-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secret-server-api

Week 2.3 Assignment: Implement Secret Server API

Introduction

Your task is to implement a secret server. The secret server can be used to store and share secrets using the random generated URL. But the secret can be read only a limited number of times after that it will expire and won’t be available. The secret may have TTL. After the expiration time the secret won’t be available anymore. You can find the detailed API documentation in the swagger.yaml file. We recommend to use Swagger or any other OpenAPI implementation to read the documentation.

Here is the swagger.yaml, what describes the Secret Server API

Task

Implementation: You have to implement the whole Secret Server API. You can choose the database you want to use, however it would be wise to store the data using encryption. The response can be XML or JSON too. Use a configuration file to switch between the two response type.

Requirements

  • Ipmlement the API what listen and server on the endpoints what swagger.yaml describes.

Bonus

As a bonus exercises you can also...

  • Use data encryption for stored data
  • Deploy your server. There are many of free solutions to do this.
  • Monitor number of requests and their response time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published