Persist application's setup/config information #68
Replies: 3 comments 3 replies
-
@mehrdadfeller We can use hashicorp vault for storing security-sensitive data, it has a docker image too: https://hub.docker.com/r/hashicorp/vault We can implement 3 layers of security:
For user configuration we can store them in the home directory ( We can provide configuration options for enabling back up for their config and/or secrets in the EEPROM or a secondary storage of their choice, we can add support for cloud solutions later. |
Beta Was this translation helpful? Give feedback.
-
fsspec provides an abstraction layer for file system and supports ssh-fs, Google Drive, S3, Google Cloud, Azure, Alibaba Cloud. We better use its interface since the beginning to make it easier to add cloud support in the future. |
Beta Was this translation helpful? Give feedback.
-
This is the datasheet for current EEPROM: https://www.onsemi.com/products/timing-logic-memory/memory/eeprom-memory/cat24c64 Features • Supports Standard, Fast and Fast−Plus I2C Protocol |
Beta Was this translation helpful? Give feedback.
-
We need a way to persist application setup/config information such as access keys, user specific configuration, as well as application data. This is a large task and we can potentially break it into smaller ones.
It should be possible also for the user to recover their system if for example MicroSD card burns; we either need a cloud-based storage or secondary storage (such as EEPROM or EMMc).
EEPROM is ideal for storing small amount of data (I believe currently its max size is 64KB but we can use a larger memory such as 128KB if necessary down the road). This would be great for config data or persisting access tokens.
We need to consider security implications and potentially perform encryption at rest.
Beta Was this translation helpful? Give feedback.
All reactions