Closed johanstokking closed 3 years ago
@KrishnaIyer please post diff with API and DB model for the secret before implementation
I'm looking at this now and this might be a dumb question; if someone needs to manually change the endpoint on the gateway for migration, they might as well change the API Key right?
This is for in-place upgrades, from V2 Bridge to V3 Gateway Server, i.e. for forwarding purposes. For example, V2 private network clusters that get upgraded to V3, either to fully fledged V3 clusters, or V3 GS + PBA.
@KrishnaIyer changed this from a gateway secret in IS to authenticating the gateway on the V2 Account Server.
ðŸ˜
So v3 GS talks to V2 AS?
Yes.
Summary
Authenticate gateways with V2 access key
Why do we need this?
To authenticate gateways that are currently connected to V2 but are being migrated to V3, without changing their gateway access key to a V3 API key.
What is already there? What do you see now?
Gateway Server optionally supports unauthenticated gateways, or authenticates via V3 API key.
What is missing? What do you want to see?
Authenticate gateways using a V2 access key.
How do you propose to implement this?
How do you propose to test this?
Integration testing
Can you do this yourself and submit a Pull Request?
Can review