Skip to main content

okta cli

Project description



This is my usual Okta-cli, help me easy to operate okta, because okta ui is too slow..


$ pip install okta-cmd
# init okta
$ okta-cmd init --url= --token=testtoken
# add group 
$ okta-cmd add-group --name=group-test1
# add user file to group
$ okta-cmd add-user-list-to-group --file=./user_list.txt --group=aaaaaaa
# copy group users to other group
$ okta-cmd copy-group-to-other --group=aaaaaaa --othergroup=bbb
# group list
$ okta-cmd group-list
# user list
$ okta-cmd user-list

Download user list file

user-list command add three options.

  • --download: want download user list
  • --filename: file name, the default is okta_user.json
  • --filepath: file path, the default is ./
$ okta-cmd user-list --download
Download success. path: ./okta_user.json
$ okta-cmd user-list --download --filename=test.json
Download success. path: ./test.json
$ okta-cmd user-list --download --filename=test.json --filepath=./oktacmd
Download success. path: ./oktacmd/test.json


  • [x] add group
  • [x] add user file to group
  • [x] copy group to other group
  • [x] group list
  • [x] user list
  • [x] download user list file


  • [ ] download group list file
  • [ ] Delete matching users
  • [ ] Delete matching groups


  • If you have new features or questions, you can write issues

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for okta-cmd, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size okta_cmd-0.1.1-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size okta-cmd-0.1.1.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page