cli-iec

module
v0.0.0-...-6397972 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2018 License: Apache-2.0

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:

  1. Fetch the package: go get github.com/bbucko/cli-iec
  2. Change to the package directory: cd $GOPATH/src/github.com/bbucko/cli-iec
  3. Install dependencies using dep: dep ensure
  4. Check if binaries build successfully:
  • Linux/macOS/*nix: go build ./...
  1. 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

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL