Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
/ codius-auth Public archive

Kubernetes webhook token authentication server

License

Notifications You must be signed in to change notification settings

codius/codius-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codius Auth

Auth server that authenticates based on Interledger payment.

Environment Variables

AUTH_PRICE

  • Type: Number
  • Description: The amount required to have been paid to grant authorization. Denominated in receiver's asset (code and scale).

PORT

  • Type: String
  • Description: The port that webhook server will listen on.
  • Default: 8080

RBAC_USER

  • Type: String
  • Description: Kubernetes user as whom valid tokens grant authorization.

RECEIPT_VERIFIER_URL

  • Type: String
  • Description: URL of the receipt verifier with which to deduct paid balances.

Routes

/token

Kubernetes webhook token authentication endpoint for requests to the Kubernetes API Server.

This is intended for requests to create Codius services. The token is expected to be the Web Monetization requestId from visiting the Codius host's home page.

Grants authentication as RBAC_USER after successfully debiting AUTH_PRICE from the token's balance at the receipt verifier.

About

Kubernetes webhook token authentication server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published