Skip to main content

SSHD Handling Utility

Project description

AuthK

Coverage

AuthK is a lightweight Python library to handle ssh keys within authorized_keys file directly from CLI.

It's built on top of DynaCLI and sshpubkeys. That makes it user friendly and secure.

AuthK was developed by BST LABS as an open source generic infrastructure foundation for the cloud version of Python run-time within the scope of the Cloud AI Operating System (CAIOS) project.

For details about the AuthK rationale and source code, refer to AuthK Github repository.

Installation

Use the package manager pip to install AuthK from the PyPi site:

pip3 install authk

Usage

$ authk -h
usage: authk [-h] [-v] {add, remove} ...

SSHD authorized_keys file handling utility

positional arguments:
  {add, remove}
    add        Add key to authorized_keys list
    remove     Remove key from the authorized_keys list

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit
$ authk add <key_text>
<user@myhost.com> sucessfully added

$ authk remove <key_txt>
<user@myhost.com> sucessfully removed

License

MIT License, Copyright (c) 2021-2022 BST LABS. See 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

authk-1.0.5.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

authk-1.0.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file authk-1.0.5.tar.gz.

File metadata

  • Download URL: authk-1.0.5.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for authk-1.0.5.tar.gz
Algorithm Hash digest
SHA256 cf8cd68f3b09e152d18e78ddeab571501349d52f43cbee457c98360b7ed5cde4
MD5 c32f9efa8b296de3592a1ae872d181c5
BLAKE2b-256 3fa45a1d68d049f77c76cb868ea97ebdc166971ccf7fc9323eb5f4f7e2480312

See more details on using hashes here.

File details

Details for the file authk-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: authk-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for authk-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c669c7a34a5a206cf393e225f7441b708b628413e37178e7efeeea439ea9adc5
MD5 51fb57b2973c8b8fae5fbe0436c9fe25
BLAKE2b-256 826b961c8563b8d87030795fc2cf6da6ce109b9e513ff62ec76f90150f0b78d7

See more details on using hashes here.

Supported by

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