Skip to content

Support API keys for authenticating users as service accounts #63

Description

@solocommand

User Service

  • Add an API key field to the user schema
  • Add an action for updating a user with a newly generated API key (UUID + ENV var hash)

GraphQL Service

  • Add mutation for calling user.regenerateApiKey on the currently logged in user
  • Add a serviceAccountLogin mutation to generate a short-lived token, provided a valid API key

Management

  • Add a readonly/copyable field to display the user's current API key.
  • Add a refresh confirmable button to (re-)generate an API key

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions