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 ‘!=’ |