Closed kaihendry closed 5 years ago
After a restore user_api_keys is empty. It needs to be set to aws --profile unee-t ssm get-parameters --names BUGZILLA_ADMIN_KEY --with-decryption --query Parameters[0].Value --output text depending on the environment, e.g.
aws --profile unee-t ssm get-parameters --names BUGZILLA_ADMIN_KEY --with-decryption --query Parameters[0].Value --output text
INSERT INTO `user_api_keys` (`user_id`, `api_key`, `description`, `revoked`, `last_used`) VALUES ('1', '$SECRET', NULL, '0', NULL);
If this is not done correctly, frontend MEFE will fail obviously.
Related to https://github.com/unee-t/bz-database/issues/111
After a restore user_api_keys is empty. It needs to be set to
aws --profile unee-t ssm get-parameters --names BUGZILLA_ADMIN_KEY --with-decryption --query Parameters[0].Value --output text
depending on the environment, e.g.If this is not done correctly, frontend MEFE will fail obviously.