Giter VIP home page Giter VIP logo

pyark's Introduction

Pyark

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.

pyark's People

Contributors

andreabettich avatar hairmare avatar karras avatar michael-dickinson avatar tongpu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyark's Issues

RADIUS authentication not supported

Currently only CyberArk authentication is supported, meaning that password vaults secured with directories cannot be authenticated against.

Add a parameter to toggle the certificate validation

It would be nice to have a parameter which allows one to either enable or disable the certificate validation through python-requests. Currently verifiy is hard coded to False, which is not nice from a security point of view.

Enhancements

Hi there,

I have extended this module quite a bit and also altered the way it works - I don't use argparse in my version. Is there a way I can share the code I have written without using a pull request - you might not want (or like) all the changes I've made. I don't really do this very often so I'm a bit unsure how to proceed.

Jonathan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.