Skip to main content

Client app for Sakeyra

Project description

Agent for Sakeyra

Python version PyPI version Build Status

JWT

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"
  }

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

akeyra-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

akeyra-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file akeyra-0.1.2.tar.gz.

File metadata

  • Download URL: akeyra-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for akeyra-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8df9e67e9e2efedd522447474a4f4f2498aab7dbba4788d7acd9bcd21094e009
MD5 5851624ef69877dde58aecbefab73576
BLAKE2b-256 d99ea9b32652ea842257737b86dc8e7417cdbd526a8a9053e51f2ecf1ef58978

See more details on using hashes here.

File details

Details for the file akeyra-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for akeyra-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 11256bed402eaa99a9c10d24537578a3e87c87209b1ba716c7ebb39f64619477
MD5 364372b05c6aefb0e91b6206aacb1600
BLAKE2b-256 2d4d5767eb490e3245e4057de1df659d73776a7cfa8ca902d336b3e8cec46a46

See more details on using hashes here.

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