This is not the latest version of Linkerd!
This documentation is for an older version of Linkerd. You may want the Linkerd 2.12 (current) documentation instead.

identity

Display the certificate(s) of one or more selected pod(s).

This command initiates a port-forward to a given pod or a set of pods and fetches the TLS certificate.

Examples


 # Get certificate from pod foo-bar in the default namespace.
 linkerd identity foo-bar

 # Get certificate from all pods with the label name=nginx
 linkerd identity -l name=nginx
		

Flags

Flag Usage
--namespace
-n
Namespace of the pod
--selector
-l
Selector (label query) to filter on, supports ‘=’, ‘==’, and ‘!=’