CH 12 · Secrets and Bring-Your-Own-Key · 05/11
Read as one pageSaving and clearing
Saving a secret encrypts and upserts (replacing any prior value for that user/provider, with a new IV). Clearing a secret deletes the row. Keep the save path the only way secrets enter storage, so encryption is never bypassed.
Finished this idea?
Your learning progress stays in this browser.