You are viewing docs for an older version of Linkerd. View the latest docs.
  • GitHub
  • Slack
  • Linkerd Forum

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

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