Code Monkey home page Code Monkey logo

registry-oauth-server's Introduction

registry-oauth-server

Quickstart

To build and start the containers, simply run the command

./build.sh

After installation is finished, you should have a local registry running on :5000, and a local oauth server running on :8080.

CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES
915726d60e03        demo_oauth_server   "/bin/sh -c 'python r"   8 minutes ago       Up 8 minutes        0.0.0.0:8080->8080/tcp   demo_oauth_server_1
16c5c1cb2310        registry:2          "/bin/registry /etc/d"   2 hours ago         Up 27 minutes       0.0.0.0:5000->5000/tcp   demo_registry_1

To see the oauth server in action, run the startdemo.sh script provided

./startdemo.sh

And you should see a detailed explaination of the oauth handshake process.

##CONFIGURATIONS

The following are a list of environment variables that has to be set for the oauth_server container to work properly. ####SIGNING_KEY_PATH Specifies the path to the private key used to sign tokens. Must be a valid path inside the container.

####SIGNING_KEY_TYPE Specifies the type of key used to sign tokens. Can be either RSA or EC, defaults to RSA

####SIGNING_KEY_ALG Specifies the algorithm used to sign tokens. For RSA keys this should be set to RS256. For EC keys this should be set to ES256

####ISSUER Identifies who signed the token to the registry. Usually the FQDN of the OAuth Server is used. This configuration should match the REGISTRY_AUTH_TOKEN_ISSUER variable used to configure the registry.

####TOKEN_EXPIRATION Specifies the expiration time in seconds for tokens signed by this server. Defaults to 3600 seconds.

####TOKEN_TYPE Specifies the type of tokens signed by this server. Defaults to JWT

registry-oauth-server's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

registry-oauth-server's Issues

Specify license

Presuming you intend this code to be open source, can you specify which license you are using? E.g. MIT, GPL, etc.

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.