module
Version:
v0.0.0-...-6397972
Opens a new window with list of versions in this module.
Published: Nov 28, 2018
License: Apache-2.0
Opens a new window with license information.
README
¶
Akamai CLI - IoT EC
Compiling from Source
If you want to compile it from source, you will need Go 1.10 or later, and the Dep package manager installed:
- Fetch the package:
go get github.com/bbucko/cli-iec
- Change to the package directory:
cd $GOPATH/src/github.com/bbucko/cli-iec
- Install dependencies using
dep:
dep ensure
- Check if binaries build successfully:
- Linux/macOS/*nix:
go build ./...
- Install binaries (to $GOPATH/bin)
- Linux/macOS/*nix:
go install ./..
User flow:
- Generate key pair -
akamai jwt create-keys --name keys_1
- Configurate new property -
akamai iec configure --auth jwt --hostname iec.kwapiszewski.com --mqtt --ws --https --jwtKey keys_1 --activate --namespace kwapiszewski_ns --jurisdiction EU
- Subscribe -
akamai iec subscribe --namespace kwapiszewski_ns --jurisdiction EU
- Publish -
akamai iec publish --namespace kwapiszewski_ns --jurisdiction EU --message "Hello world"
- Generate token -
akamai jwt token --name keys_1 --clientId clientId --authGroup publisher
Directories
¶
Click to show internal directories.
Click to hide internal directories.