skaws

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 10 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL