Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify generating API keys for gateways #6697

Open
2 of 4 tasks
KrishnaIyer opened this issue Nov 9, 2023 · 1 comment
Open
2 of 4 tasks

Simplify generating API keys for gateways #6697

KrishnaIyer opened this issue Nov 9, 2023 · 1 comment
Assignees
Labels
blocked This can't continue until another issue or pull request is done c/console This is related to the Console needs/ux This needs UX design / approval

Comments

@KrishnaIyer
Copy link
Member

Summary

Simplify generating API keys for gateways

Current Situation

We have the API Key screen today to create a gateway API key.
Screenshot 2023-11-09 at 14 11 35

Why do we need this? Who uses it, and when?

API Keys for gateways can only be one of two types

  1. Gateway connection (including LBS LNS): This API key requires only one right Right_RIGHT_GATEWAY_LINK, "link as Gateway to a Gateway Server for traffic exchange, i.e. write uplink and read downlink"
  2. CUPS: This requires three rights:
  • View Gateway Information
  • Retrieve Secrets Associated with the gateway
  • Edit basic gateway settings

Instead of users going to this page and selecting the rights, we should make this easier.

Proposed Implementation

In the overview page of a particular gateway, have a button to generate an API Key.

  • Here we can provide a dropdown with two types (connection/LNS and CUPS) and an optional expiry.
  • Once the user selects it we either have the same "please copy the key" or we can generate a file and auto download via the browser.

Contributing

  • I can help by doing more research.
  • I can help by implementing the feature after the proposal above is approved.
  • I can help by testing the feature before it's released.

Code of Conduct

@KrishnaIyer KrishnaIyer added c/console This is related to the Console needs/ux This needs UX design / approval labels Nov 9, 2023
@KrishnaIyer KrishnaIyer added the blocked This can't continue until another issue or pull request is done label Nov 9, 2023
@github-actions github-actions bot added the needs/triage We still need to triage this label Nov 9, 2023
@KrishnaIyer
Copy link
Member Author

@KrishnaIyer KrishnaIyer removed the needs/triage We still need to triage this label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This can't continue until another issue or pull request is done c/console This is related to the Console needs/ux This needs UX design / approval
Projects
None yet
Development

No branches or pull requests

2 participants