An Okta command line interface for scripting and quickly performing routine tasks
Project description
Okta-CLI
This is a python-based CLI tool for Okta. It is not made or maintained by or in any way affiliated with anyone working at Okta.
The feature set is quite complete, but based on the authors needs, which currently are:
- user functions
- list users (using API
search=
andquery=
functionality, and local filtering) - update users
- bulk-update users, with parallel threads (hundreds of updates in seconds)
- list users (using API
- group functions (add users, remove users, list groups, list members)
- handling of multiple Okta instances (e.g. a test cell, a production cell, a personal cell, ...)
- updates and (now really fast) bulk-updates of user profiles (using CSV or Excel files)
- export of profile data (into CSV or JSON)
NOTE
REQUIRES Python 3.6+
Quickstart
$ pip install okta-cli
$ okta-cli config new -n my-profile -u https://my.okta.url -t API_TOKEN
$ okta-cli users list -f 'email eq "my@email.com"'
$ okta-cli users update id012345678 --set email=my@other.email.com --set phone=01234/5678
$ okta-cli users bulk-update update-list.xlsx # CSV is okay as well :)
$ okta-cli groups adduser -g 01231324 -u 0129353892
$ okta-cli groups removeuser -g ... -u ...
References
This project uses a couple of nice other projects:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for okta_cli-10.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d000cab27d4e1374cbde33feb1cc9fc30c1ec647a54c0132ddb42eb2f6da436f |
|
MD5 | 89eeaa8f13606295309b436e957ea774 |
|
BLAKE2b-256 | 774d97807e84751d2478afd17aebfb7dd36994ce5998f57cbf21d70e289307e8 |