A pre-shared key (PSK) is a secret that both communicating parties know before a session begins. In TLS 1.3, it can derive symmetric session keys without requiring public-key infrastructure or a fresh key exchange. section 9.2.1
A TLS 1.3 PSK handshake proceeds like this:
- The client advertises PSK identifiers in ClientHello. section 9.2.1
- The server recognizes an identifier and confirms it in ServerHello. section 9.2.1
- Both parties may skip the key exchange and derive symmetric session keys from the PSK. section 9.2.1
- Because authentication is skipped, the Finished message helps prevent man-in-the-middle attacks. section 9.2.1
A direct machine-to-machine link
Two machines that connect only to each other can use a provisioned PSK to secure their TLS communications without managing a public-key infrastructure. section 9.2.1


