Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

add create-apikey command #6

Merged
merged 3 commits into from
Oct 21, 2020
Merged

add create-apikey command #6

merged 3 commits into from
Oct 21, 2020

Conversation

nelsonpecora
Copy link
Contributor

This PR adds a create-apikey command, modeled after the destroy-backend command. It requires an id, and optionally can be passed in a name and/or admin flag. If successful, it returns a newly-created API key.

src/commands/create-apikey.ts Outdated Show resolved Hide resolved
src/commands/create-apikey.ts Show resolved Hide resolved
@nelsonpecora nelsonpecora requested a review from gja October 21, 2020 12:48
@gja gja merged commit ef8b34e into dgraph-io:master Oct 21, 2020
@nelsonpecora nelsonpecora deleted the create-apikey branch October 21, 2020 19:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants