Non-relational data storage
Overview
User settings management subsystem uses the Redis distributed in-memory database from the Non-relational database management subsystem to store the automatically generated OTP-codes (One-Time Password) with Time-To-Live set for records according to Registry configuration.
The data is stored as a Hash-table with object segregation on ID prefix level (<keyspace>:<key>).
Data structures
channel-verification-codes
Storing the automatically generated OTP-code objects for user communication channel confirmation.
Code generation pattern
channel-verification-codes:{userId}/{channel}
Key | Data type | Description |
---|---|---|
|
String |
Unique ID |
|
String |
User taxpayer’s ID code |
|
String |
OTP-code for confirmation |