Skip to content

pratyushtiwary/toki

Repository files navigation


Toki

Toki is an auth orchestrator written in Go. Toki simplifies token renewal through its config and use of signals.

10000ft Overview

Usage

pipeline-config.json

[
	{
		"command": "python3 test.py",
		"auth": [
			{
				"strategy": "custom",
				"params": {
					"expiry": 60,
					"refresh_after": 50,
					"command": "sleep 5 && echo 1"
				}
			}
		]
	},
	{
		"command": "python3 test.py",
		"auth": [
			{
				"strategy": "custom",
				"params": {
					"expiry": 60,
					"refresh_after": 50,
					"command": "sleep 5 && echo 1"
				}
			}
		]
	}
]

command: toki pipeline-config.json

About

Auth orchestrator written in Go

Resources

License

Stars

Watchers

Forks

Packages