K
Kinde3w ago
Ricer

Configuring DynamoDB express session store

I'm trying to setup a DynamoDB store for express-session and I was asked by my DevOps to set a "partition key" and "sort key". Does the ExpressJS SDK uses specific keys I should use, or it doesn't matter what I use?
2 Replies
Daniel_Kinde
Daniel_Kinde3w ago
Are you looking for specifically the keys used? I can double check but I believe the express SDK will use whatever express-session store has been setup, if one has not been defined when the Kinde instance is setup it will resort to memory storage.
Ricer
RicerOP3w ago
Forgot to mark as solved. I managed to work it out with using the default keys (partition key is "id" and not using sort key)
Want results from more Discord servers?
Add your server