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

  1. # Get certificate from pod foo-bar in the default namespace.
  2. linkerd identity foo-bar
  3. # Get certificate from all pods with the label name=nginx
  4. linkerd identity -l name=nginx

Flags

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