Skip to main content

Pyark is a small python-based CLI tool, which allows you to interact with the CyberArk Enterprise Password Vault API.

Project description

Travis PyPi License

Pyark is a small python-based CLI tool, which allows you to interact with the CyberArk Enterprise Password Vault API.

Features

Currently the following functionalities are supported:

  • Get accounts

  • Create accounts

  • Delete accounts

Supported authentication methods:

  • CyberArk accounts (default)

  • RADIUS

Requirements

Make sure to have the following Python 3 dependencies installed before using the tool:

  • python-requests

Furthermore it’s important to know which version of the CyberArk Password Vault is used as only the newest versions expose all API endpoints. Make sure to double check the API documentation, specific for your version, in case the tool fails to interact with the API.

Installation

Simply clone this repository and start using the script. You can also install it using setup.py or pip.

Examples

Get a list of available accounts:

$ pyark --base https://vault.example.com \
        --apiuser foobar                 \
        --apipassword supersecret42      \
        account get                      \
        --safe MySafe                    \
        --keywords bruce

Create a new account:

$ pyark --base https://vault.example.com \
        --apiuser foobar                 \
        --apipassword supersecret42      \
        account create                   \
        --safe MySafe                    \
        --platformid TestPlatform        \
        --accountname brucewayne         \
        --address batcave.example.com    \
        --username brucew                \
        --password d4rkkn1ght

Delete an existing account:

$ pyark --base https://vault.example.com \
        --apiuser foobar                 \
        --apipassword supersecret42      \
        account delete                   \
        --safe MySafe                    \
        --accountname brucewayne         \
        --keywords bruce

Contributions

Contributions are more than welcome! Please feel free to open new issues or pull requests.

License

GNU GENERAL PUBLIC LICENSE Version 3

See the LICENSE file.

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

pyark-1.1.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Supported by

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