consolidate on api key and api secret to describe our key pairs (#138)

* consolidate on api key and api secret to describe our key pairs

* tweak error message for the keys flag
This commit is contained in:
Russ d'Sa
2021-10-07 15:50:18 -07:00
committed by GitHub
parent 52e10ea315
commit f6f5602bc4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func generateKeys(c *cli.Context) error {
apiKey := utils.NewGuid(utils.APIKeyPrefix)
secret := utils.RandomSecret()
fmt.Println("API Key: ", apiKey)
fmt.Println("Secret Key: ", secret)
fmt.Println("API Secret: ", secret)
return nil
}
+1 -1
View File
@@ -91,7 +91,7 @@ func main() {
Commands: []*cli.Command{
{
Name: "generate-keys",
Usage: "generates a pair of API & secret keys",
Usage: "generates an API key and secret pair",
Action: generateKeys,
},
{