Skip to main content

AosEdge private keys and certificate manager

Project description

Aos user keys management tool

This tool is part of the AosEdge SDK.

Overview

This tool will help you manage user certificates for Aos Cloud.

Using this tool you'll be able to:

  • Issue new user certificate in pkcs12 format.
  • Show info about user certificate.
  • Convert PKCS12 certificate to PEM key and certificate files.

Prerequisites

  • Python 3.7+

Installation

python -m pip install aos-keys

Usage

Issue new user certificate:

aos-keys new-user -d {aoscloud.io} -t {token} {--oem|--sp|--fleet}

Where:

  • -d - Aos CLoud domain to register user
  • -t - User Token
  • -oem or -sp - Certificate for OEM or SP User

Example:

aos-keys new-user -d aoscloud.io -t 1111 --oem

Show info about certificate and related user:

aos-keys info -c {path-to-cert} {--oem|--sp|--fleet}

Where:

  • -c - Path to user certificate
  • -sp - Show info of default Service Provider user
  • -oem - Show info of default OEM user
  • -fleet - Show info of default Fleet Owner user

Example: Show info about default SP user certificate

aos-keys info --sp

Show info about default OEM user certificate

aos-keys info --oem

Project details


Release history Release notifications | RSS feed

This version

1.6.0

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

aos_keys-1.6.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file aos_keys-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: aos_keys-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.10

File hashes

Hashes for aos_keys-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9969eee6b48f9387fd98640826b4e45be9d521a2dce6ea42b5bbbe65f70bb3c4
MD5 b2e38793710f1041e93d017fd13a20ea
BLAKE2b-256 4c36ec51f1a4245c403b3570990ff62fe05c841782d5340b98b46f348c1637bc

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