Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Client app for Sakeyra

Project Description

Agent for Sakeyra

What is it?

Akeyra is the client-side of Sakeyra.
It serves the purpose of creating/updating ~/.ssh/authorized_keys
It also create users that don’t exist on your server but that are in the key-bundle.

How to install ?

Use Pip pip install akeyra

How to use it?

You have to fill the configuration file (see below) to connect to your SAKman Server.
Then you just have to run akeyra as root.
Make sure you have a Cron somewhere to update as frequently as possible.

Options

usage: akeyra [-h] [-H HOST] [-E ENV] [-K KEY] [-P PROXY] [-F FILE] [-D]

You can provide all informations in CLI, use the basic configfile (/etc/akeyra.cfg), or an alternative one. If nothing is passed by CLI, then the basic configfile will be used.

CLI > CLI-File > base file

optional arguments: * -h, –help show this help message and exit * -H HOST, –host HOST Key Server * -E ENV, –env ENV Environment * -K KEY, –key KEY Secret key * -P PROXY, –proxy PROXY Proxy * -F FILE, –cnf FILE Alt Conffile * -D, –dry Dry run

If you need to use a proxy, you either set environment variable like http_proxy or use proxy in the configfile.

Configuration file /etc/akeyra.cfg

[agent]
host =
key =
environment =
proxy =

Format between Akeyra and Sakeyra (decode)

{
  "environment": "rec",
  "users": [
    {"user1": {"email": "userkey1@test.com", "name": "userkey1", "pubkey": "laclepubliquedeuserkey1"}},
    {"user2": {"email": "userkey2@test.com", "name": "userkey2", "pubkey": "laclepubliquedeuserkey2"}}
    ],
    "pub_date": "2017-10-18T17:15:46.799689"
  }
Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
akeyra-0.1.1-py3-none-any.whl (7.3 kB) Copy SHA256 Checksum SHA256 py3 Wheel Nov 12, 2017
akeyra-0.1.1.tar.gz (5.1 kB) Copy SHA256 Checksum SHA256 Source Nov 12, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting