Skip to main content

Iru Control, a utility for local management of Iru resources.

Project description

Iru Control

iructl is a utility for managing resources via the Iru API.

Features

  • Create and sync a local repository of custom profiles, scripts, or apps with your Iru tenant
  • Import existing profiles, scripts, and app installers without copy/pasting
  • List or show details of local and remote resources directly from the command line
  • Format output as structured YAML, plist, or JSON for use with other tools
  • Declaratively assign resources to Blueprints with ensure_blueprints (experimental preview)
  • Build your own integration for managing custom resources with a fully featured Python client module

Installation

Install with one of the following:

# Homebrew
brew tap kandji-inc/iructl https://github.com/kandji-inc/iructl.git
brew install iructl

# uv
uv tool install iructl

# pipx
pipx install iructl

See the Installation wiki page for prerequisites and details.

Quick Start

Follow the steps below to quickly get up and running with a local copy of your Iru Custom Resources.

  1. Create a new local repository: iructl new my-repo
  2. Change directories: cd my-repo
  3. Set your credentials:
    1. export IRUCTL_TENANT=<YOUR_API_URL_HERE>
    2. export IRUCTL_TOKEN=<YOUR_API_TOKEN_HERE>
  4. Download your custom profiles from Iru: iructl profile pull --all
  5. Download your custom scripts from Iru: iructl script pull --all
  6. Download your custom apps and their installers from Iru: iructl app pull --all --download

[!NOTE] Replace <YOUR_API_URL_HERE> and <YOUR_API_TOKEN_HERE> with your API URL and token. See Configuration for authentication details.

Getting Help

Each command and subcommand has its own help screen, accessed by appending --help (e.g., iructl --help, iructl new --help).

Full documentation lives in the iructl wiki. Key pages:

License

See LICENSE.

Project details


Download files

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

Source Distribution

iructl-1.3.0.tar.gz (96.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iructl-1.3.0-py3-none-any.whl (124.2 kB view details)

Uploaded Python 3

File details

Details for the file iructl-1.3.0.tar.gz.

File metadata

  • Download URL: iructl-1.3.0.tar.gz
  • Upload date:
  • Size: 96.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iructl-1.3.0.tar.gz
Algorithm Hash digest
SHA256 130078a7b62448a427c9d0109c4a71f064b3711f5b6ba6b340938d52f4b1fbfb
MD5 f600823f940edc126982667238381a8e
BLAKE2b-256 2dcef1afd5ac74945ac00b475ab75ad67aa2f678eb9affd469181e3481b31a61

See more details on using hashes here.

File details

Details for the file iructl-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: iructl-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 124.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iructl-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46e4292fff31fb6379ecf50cef4037b7ec6c834e2ec6b491513d088724ead719
MD5 de0d97facb9365269926ce340b0998c1
BLAKE2b-256 97b66a049493e624b5414a029aaa3d581ccf3c90ede4c4d9e2e74fc97915e939

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page