mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-27 06:38:46 +00:00
feat: encryption keys in database (#3265)
* enable overwrite of adminUser fields in defaults.yaml * create schema and table * cli: create keys * cli: create keys * read encryptionkey from db * merge v2 * file names * cleanup defaults.yaml * remove custom errors * load encryptionKeys on start * cleanup * fix merge * update system defaults * fix error message
This commit is contained in:
@@ -55,3 +55,10 @@ CREATE TABLE zitadel.projections.sms_configs_twilio (
|
||||
|
||||
, PRIMARY KEY (sms_id)
|
||||
);
|
||||
|
||||
ALTER TABLE zitadel.projections.login_policies
|
||||
ADD COLUMN password_check_lifetime BIGINT NOT NULL DEFAULT 0
|
||||
, ADD COLUMN external_login_check_lifetime BIGINT NOT NULL DEFAULT 0
|
||||
, ADD COLUMN mfa_init_skip_lifetime BIGINT NOT NULL DEFAULT 0
|
||||
, ADD COLUMN second_factor_check_lifetime BIGINT NOT NULL DEFAULT 0
|
||||
, ADD COLUMN multi_factor_check_lifetime BIGINT NOT NULL DEFAULT 0;
|
||||
|
||||
Reference in New Issue
Block a user