command
module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jun 2, 2021
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
skaws
Static Kubernetes Authentication Webhook Server
Overview
Skaws is an implementation of a Webhook token auth provider for Kubernetes as
described by https://kubernetes.io/docs/reference/access-authn-authz/authentication/#webhook-token-authentication
This implementation is static (e.g it loads possible valid tokens from a yaml
file).
I beg that you do not use this in production. This tool is designed for
experimenting with Webhook Token Authentication.
Handy bits
curl -X POST \
'http://localhost:8080/authenticate' \
-H 'Content-Type: application/json; charset=utf-8' \
-d '{
"apiVersion": "authentication.k8s.io/v1",
"kind": "TokenReview",
"spec": {
"token": "valid-token"
}
}'
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.