Giter Club home page Giter Club logo

fake-kms's Introduction

fake-kms

A simple aplication that has an HTTP api compatible with AWS Key Management Service

Features available

  • Encrypt (since version 1)
  • Decrypt (since version 1)

How to run?

Even tho this is a JVM project, we only provide a docker image:

docker run -p 9000:9000 gabfssilva/fake-kms:latest

How to use a custom port?

docker run -p 8080:9000 gabfssilva/fake-kms:latest

#or, you can pass using an environment variable

docker run --env APP_PORT=8080 -p 8080:8080 gabfssilva/fake-kms:latest

What did you use to build it?

Basically, we used:

  • Scala 2.12.8
  • Akka HTTP 10.1.+
  • Circe 0.11.+
  • AWS SDK 2.+

If you check the docker image out, you'll see we're using OpenJ9, a low memory footprint JVM created by IBM and now maintained by Eclipse

Why are you using OpenJ9?

Because the memory footprint of fake-kms on OpenJ9 is somewhere between 64 and 128mb

How to build it myself?

git clone https://github.com/gabfssilva/fake-kms.git
cd fake-kms
sbt clean build assembly
docker build -t fake-kms .

#if you want to run:
docker run -p 9000:9000 fake-kms

How can I help?

PR's are very welcome, so, if you want to help, fork this project and check the issues out. There are tons of actions that we don't implement yet. Of course, if you don't have time or simply don't want to, just add a comment in the desired feature in the issues and probably this will be our priority.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

fake-kms's People

Contributors

gabfssilva avatar

fake-kms's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.