storj / edge

Storj edge services (including multi-tenant, S3-compatible server to interact with the Storj network)
GNU Affero General Public License v3.0
53 stars 18 forks source link

Write `pkg/auth/spannerauth/spannerauthmigration` package #369

Closed amwolff closed 11 months ago

amwolff commented 11 months ago

Goal

For https://github.com/storj/storj-private/issues/440, we need to write a migration package for migration from badgerauth to spannerauth, similar to https://review.dev.storj.io/c/storj/gateway-mt/+/7542.

Acceptance Criteria

Links

storj-gerrit[bot] commented 11 months ago

Change pkg/auth: wire up spannerauth to the command line interface. mentions this issue.

storj-gerrit[bot] commented 11 months ago

Change pkg/auth/spannerauth/spannerauthmigration: add package mentions this issue.

storj-gerrit[bot] commented 11 months ago

Change pkg/auth/spannerauth/spannerauthmigration: add tests mentions this issue.

storj-gerrit[bot] commented 11 months ago

Change pkg/auth: wire up spannerauthmigration to command line interface mentions this issue.

storj-gerrit[bot] commented 11 months ago

Change pkg/auth/spannerauth: fix incorrect size of secret key column mentions this issue.

storj-gerrit[bot] commented 11 months ago

Change {cmd/authservice,pkg/auth}: add concurrency to spannerauthmigration mentions this issue.

storj-gerrit[bot] commented 11 months ago

Change pkg/auth: update logging for consistency mentions this issue.