Difference between revisions of "Kubectl auth"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
[[kubectl auth reconcile]]
+
 
 +
* <code>[[kubectl auth can-i]]</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}}
+
* {{kubectl auth}}
* {{K8s}}
+
* {{Kubernetes roles}}
 
+
* {{Kubernetes RBAC}}
 
+
* {{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: