Skip to content
/ authx Public

Kubernetes authentication component with support for JWT

Notifications You must be signed in to change notification settings

stronker/authx

Repository files navigation

Authx

​ The authx component is responsible of managing the credentials of the different elements of the platform that require those (e.g., users). Thus, this component will be used by either components trying to check a set of credentials, or by components creating/managing credentials. ​

Getting Started

​ The authx component is a requirement for having a running platform, therefore any error in the deployment may cause issue at system level. ​

Prerequisites

​ The following components are required ​

  • scylla-deploy
  • A secret named authx-secret is required and created by the installer. The content of this secret is used to create the JWT tokens so different installations are expected to use different secrets.
  • A certification authoritity created by the installer is required to issue new certificates. ​

Build and compile

​ In order to build and compile this repository use the provided Makefile: ​

make all

​ This operation generates the binaries for this repo, download dependencies, run existing tests and generate ready-to-deploy Kubernetes files. ​

Run tests

​ Tests are executed using Ginkgo. To run all the available tests: ​

make test

Update dependencies

​ Dependencies are managed using Godep. For an automatic dependencies download use: ​

make dep

​ In order to have all dependencies up-to-date run: ​

dep ensure -update -v

Known Issues

  • The interceptors are being migrated to their own repository to limit inter-repository dependencies.
  • Some authx packages do not follow the handler-manager approach as implemented in other repositories. This issue will be part of a refactor on future versions.
  • Some scylladb providers do not make use of the scylladb-utils. This will be refactored in future versions. ​ ​

Contributing

​ Please read contributing.md for details on our code of conduct, and the process for submitting pull requests to us. ​ ​

Versioning

​ We use SemVer for versioning. For the versions available, see the tags on this repository. ​

Authors

​ See also the list of contributors who participated in this project. ​

License

This project is licensed under the Apache 2.0 License - see the LICENSE-2.0.txt file for details.

About

Kubernetes authentication component with support for JWT

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages