HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dexter — Authenticate the `kubectl` users with OpenId Connect. More information: <https://github.com/gini/dex

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandusersclikubectlwithauthenticatedexter

Problem

How to use the dexter command: Authenticate the kubectl users with OpenId Connect. More information: <https://github.com/gini/dexter#run-dexter>.

Solution

dexter — Authenticate the kubectl users with OpenId Connect. More information: <https://github.com/gini/dexter#run-dexter>.

Create and authenticate a user with Google OIDC:
dexter auth {{[-i|--client-id]}} {{client_id}} {{[-s|--client-secret]}} {{client_secret}}


Override the default kube configuration file location:
dexter auth {{[-i|--client-id]}} {{client_id}} {{[-s|--client-secret]}} {{client_secret}} {{[-k|--kube-config]}} {{sample/config}}

Code Snippets

Create and authenticate a user with Google OIDC

dexter auth {{[-i|--client-id]}} {{client_id}} {{[-s|--client-secret]}} {{client_secret}}

Override the default kube configuration file location

dexter auth {{[-i|--client-id]}} {{client_id}} {{[-s|--client-secret]}} {{client_secret}} {{[-k|--kube-config]}} {{sample/config}}

Context

tldr-pages: common/dexter

Revisions (0)

No revisions yet.