Difference between revisions of "Kubectl auth"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
* <code>[[kubectl auth can-i]]</code>
 
* <code>[[kubectl auth can-i]]</code>
 
* <code>[[kubectl auth reconcile]]</code>
 
* <code>[[kubectl auth reconcile]]</code>
 +
* <code>[[kubectl auth whoami]]</code>
  
 
<pre>
 
<pre>
Line 23: Line 24:
 
* [[Kubernetes RBAC]]
 
* [[Kubernetes RBAC]]
 
* [[~/.kube/config]]
 
* [[~/.kube/config]]
 +
* [[error: You must be logged in to the server (Unauthorized)]]
  
 
== See also ==
 
== See also ==
Line 30: Line 32:
 
* {{Kubernetes Authorization}}
 
* {{Kubernetes Authorization}}
 
* {{Kubernetes Authentication}}
 
* {{Kubernetes Authentication}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 13:44, 20 September 2023

kubectl auth --help
Inspect authorization

Available Commands:
  can-i         Check whether an action is allowed
  reconcile     Reconciles rules for RBAC role, role binding, cluster role, and cluster role binding objects

Usage:
  kubectl auth [flags] [options]

Use "kubectl <command> --help" for more information about a given command.
Use "kubectl options" for a list of global command-line options (applies to all commands).


Related terms[edit]

See also[edit]

Advertising: