Table Of Contents

Previous topic

2. Introduction

Next topic

4. AA plugin development

3. Getting started

To begin developing with the Plugin SDK the following components are required:

  • working Pipenv tool,
  • working Python 3.6+ interpreter,
  • a downloaded copy of the Plugin SDK development package.

To download the Plugin SDK, visit the Download software page on the One Identity home page. Note that to download software you need to have a registered support account.

3.1. Starting from scratch

Create a Pipfile that contains at least these lines:

[packages]

[dev-packages]
pytest = "*"
pytest-cov = "*"

[requires]
python_version = "3.6"

Build a python virtual environment which will be used to develop and test the plugin:

pipenv install -d

To (re)install the Plugin SDK replace <path-to-plugin-sdk-tar-gz> with the actual location of the downloaded Plugin SDK package and run the following command:

pipenv run pip install -U <path-to-plugin-sdk-tar-gz>

Create the necessary MANIFEST file for the plugin and add a source file, for example main.py.

The code in main.py is now usable together with the Plugin SDK inside the virtual environment:

pipenv shell
python main.py