Skip to main content

okta-cmd

Introduction

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

Use

$ pip install okta-cmd
# init okta
$ okta-cmd init --url=https://test.okta.com --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

Features

  • add group
  • add user file to group
  • copy group to other group
  • group list
  • user list
  • download user list file

TODO

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

Notes

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

Release files for okta-cmd 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for okta-cmd 0.1.1
File Size Uploaded
okta-cmd-0.1.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for okta-cmd 0.1.1
File Interpreter ABI Platform
okta_cmd-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / okta-cmd-0.1.1.tar.gz

Download URL okta-cmd-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
899f2857150c472e775bc7303cb01feecf76deebcab235b0af66a3e73eb936df
BLAKE2b-256 checksum
How to use checksums
c1dec54fc3029dd8ebc90eea96d84d57b34d4ba4a7efe0ae7a9a8c823aa8b256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release files / okta_cmd-0.1.1-py3-none-any.whl

Download URL okta_cmd-0.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e04505ceb3ab4256917cc8f1a3ee9f5e13ec5d6d15ac579794f48301aeffb6c
BLAKE2b-256 checksum
How to use checksums
bee60f28a3dfcc0f57311bf5bad48a4239ee961078d62fc675139aa853f5a428
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page