Skip to content

h314to/awstools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Status

awstools

This is a quick and simple API for AWS IoT based on the excellent awscli and sh packages.

Usage

from awstools import awsiot as iot

# Create things, certificate, keys, and policy
thing = iot.create_thing("DummyThing")
certs = iot.create_keys_and_certificate()
policy = iot.create_policy("PubToDummy", "Allow", "iot:Publish", "dummy")

# Save certificates and keys
iot.write_keys_and_certificates(certs)

# Attach policy to certs
iot.attach_policy(certs, policy)

# Attach certs to thing
iot.attach_to_thing(thing, certs)

For more information please see the documentation.

About

Simple AWS IoT API based on awscli and sh

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages