feat(jupyterhub): admin vault token renewal
This commit is contained in:
11
jupyterhub/token-monitor.tpl
Normal file
11
jupyterhub/token-monitor.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
{{- with secret "auth/token/lookup-self" -}}
|
||||
=== Vault Token Status ===
|
||||
TTL: {{ .Data.ttl }} seconds
|
||||
Renewable: {{ .Data.renewable }}
|
||||
Expire Time: {{ .Data.expire_time }}
|
||||
Policies: {{ range .Data.policies }}{{ . }} {{ end }}
|
||||
Display Name: {{ .Data.display_name }}
|
||||
Entity ID: {{ .Data.entity_id }}
|
||||
Token Type: {{ .Data.type }}
|
||||
===========================
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user