[PATCH v8 18/24] security: Introduce key_post_create_or_update hook