Locate the Network session key in the database

Personal or application server ChirpStack saves the activation values ​​(network session key, device address and application session key) in which table? When viewing databases through pgAdmin 4 and DBeaver, you cannot find them. I’ve already looked at all the bank tables.

The Nwk Session Key is stored in Redis by the ChirpStack Network Server.

What are the values ​​saved within the “lora: ns: device: xxxxxx” key in redis?

It is the binary representation of the device-session (Protobuf). Please refer to the source-code (internal/storage/...) for more information :slight_smile: There is a SaveDeviceSession and GetDeviceSession function which will do the save / retrieval.