Skip to content

SMLuthi/kb_encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

kb_encryption

Description

Simple REST API to create/read/delete secret keys.

Requirements

  • Python 2.7
  • virtualenv (suggested)

Installation

Using GIT Clone

In your workspace directory type:

- git clone -b master git@github.com:SMLuthi/kb_encryption.git kb_encryption
- mkvirtualenv kb_encryption
- cd into kb_encryption
- pip install -r requirements.txt --no-index

Usage

Start Encrypter API

- ./<repo root>/code/encrypter_app.py

Simple tests

- curl -i -H "Content-Type: applicationn/json" -X POST http://localhost:5000/keys/testUser -u "admin:password"
- curl -i -H "Content-Type: applicationn/json" http://localhost:5000/keys/testUser -u "admin:password"
- curl -i -H "Content-Type: applicationn/json" -X DELETE http://localhost:5000/keys/testUser -u "admin:password"

About

Simple REST API to create/read/delete secret keys.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages