Difference between revisions of "Kubectl auth"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by 3 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>
 +
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).
 +
</pre>
  
  
 
== Related terms ==
 
== Related terms ==
 
* [[Kubernetes RBAC]]
 
* [[Kubernetes RBAC]]
 
+
* [[~/.kube/config]]
 +
* [[error: You must be logged in to the server (Unauthorized)]]
  
 
== See also ==
 
== See also ==
 +
* {{kubectl auth}}
 +
* {{Kubernetes roles}}
 
* {{Kubernetes RBAC}}
 
* {{Kubernetes RBAC}}
* {{kubectl}}
+
* {{Kubernetes Authorization}}
 +
* {{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: