Kuadrant / kuadrantctl

Kuadrant configuration command line utility
Apache License 2.0
6 stars 13 forks source link

Command: apikey #18

Open eguzki opened 3 years ago

eguzki commented 3 years ago

Supercommand to manage kuadrant apikeys. The API keys are stored as k8s secrets.

kuadrantctl apikey create name <my_api_key_name> [--user-id USER_ID] [--namespace NAMESPACE] [--label KEY:VALUE] [--value JUSTFORDEMOSOBVIOUSLYqDQsqSPMHkRhriEOtcRx]

Default namespace would be kuadrant-system or defined by .kube/config

--label can be added multiple times

--value is optional, if not set, the command will generate one

kuadrantctl apikey get name <my_api_key_name>

Secrets: