fix: add authnkeys projection (#2801)

* begin authn keys

* single table for state change

* add key type

* rename migration

* format imports

* fix test
This commit is contained in:
Livio Amstutz
2021-12-08 16:16:48 +01:00
committed by GitHub
parent c9face4ea4
commit 65a6fb638b
6 changed files with 668 additions and 5 deletions

View File

@@ -64,6 +64,7 @@ func Start(ctx context.Context, sqlClient *sql.DB, es *eventstore.Eventstore, co
NewProjectMemberProjection(ctx, applyCustomConfig(projectionConfig, config.Customizations["project_members"]))
NewProjectGrantMemberProjection(ctx, applyCustomConfig(projectionConfig, config.Customizations["project_grant_members"]))
_, err := NewKeyProjection(ctx, applyCustomConfig(projectionConfig, config.Customizations["keys"]), defaults.KeyConfig)
NewAuthNKeyProjection(ctx, applyCustomConfig(projectionConfig, config.Customizations["authn_keys"]))
return err
}