This repository has been archived by the owner on May 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
CIF Tokens Manpage
Wes edited this page Oct 26, 2015
·
6 revisions
cif-tokens
cif-tokens [options]
$ cif-tokens --new --username me@example.com --expires 2016-07-01 --admin
$ cif-tokens --new --username root --groups everyone,groupA,groupB
$ cif-tokens --username me@example.com --write-enable
cif-tokens is an application to manage API keys associated with a CIF instance.
Options:
-h, --help this message
--username specify a username
--admin set the admin flag for the user
--read set read permissions for a token
--write set write permissions for a token
--expires set an expiration date for the token
--groups specify the groups for the user (default: everyone)
Actions:
--new generate a new token
--delete remove token
--revoke revoke a user / token
--import import tokens list from v1 instance (bin/cif_apikeys_export) using STDIN
--import-path specify a path to read for importing tokens (aka: apikeys in v1)
--write-enable enable write access for a specified user / token
--write-disable disable write access for a specified user / token
Advanced:
--generate-config-path generate a new config with token
--generate-config-remote default: https://localhost
--generate-config-tls default: true
Storage:
--storage default: elasticsearch
--storage-host default: localhost:9200