soracom / soracom-cli Goto Github PK
View Code? Open in Web Editor NEWProvides `soracom` command, a command line tool for calling SORACOM APIs. SORACOM API を呼び出すためのコマンドラインツール soracom を提供します。
License: MIT License
Provides `soracom` command, a command line tool for calling SORACOM APIs. SORACOM API を呼び出すためのコマンドラインツール soracom を提供します。
License: MIT License
In the download soracom_0.10.0_windows_amd64 the soracom
file needs a .exe extension to be run properly
I ran the followings on SORACOM API client v0.10.1.
$ soracom version
SORACOM API client v0.10.1
$ SORACOM_VERBOSE=1 soracom soralets upload --soralet-id my-test --content-type application/octet-stream --body @example_soralet.wasm
POST /v1/auth? HTTP/1.1
Host: api.soracom.io
Content-Type: application/json
User-Agent: soracom-cli/0.10.1
X-Soracom-Lang: en
{"authKeyId":"keyId-*","authKey":"secret-*"}
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: no-cache
Connection: keep-alive
Content-Type: application/json
Date: Mon, 20 Sep 2021 00:32:34 GMT
X-Amzn-Trace-Id: Root=1-6147d6a2-3d60553d237acd9f787b0828
X-Soracom-Cli-Version: v0.10.1
==========
Error: invalid json format specified for `--body` parameter: invalid character '\x00' looking for beginning of value
Usage:
soracom soralets upload [flags]
Flags:
--body string JSON string or @filename for API request body.
--content-type string Content type of the file to upload
-h, --help help for upload
--soralet-id string The identifier of Soralet.
Global Flags:
--api-key string Specify API key otherwise soracom-cli performs authentication on behalf of you
--api-token string Specify API token otherwise soracom-cli performs authentication on behalf of you
--auth-key string Specify AuthKey to be used for authentication. If both --auth-key-id and --auth-key are specified, soracom-cli works without profiles. It means you don't need to run 'soracom configure' before running the command. This may be suitable for temporary execution. Please don't forget specifying these options along with --coverage-type.
--auth-key-id string Specify AuthKeyId to be used for authentication. If both --auth-key-id and --auth-key are specified, soracom-cli works without profiles. It means you don't need to run 'soracom configure' before running the command. This may be suitable for temporary execution. Please don't forget specifying these options along with --coverage-type.
--coverage-type string Specify coverage type, 'g' for Global, 'jp' for Japan
--no-retry-on-error Specify soracom-cli not to retry even if the API endpoint returns an error
--profile string Specify profile name
--raw-output Specify soracom-cli to output raw response from the API endpoint
From a security point of view, it would be better not to dump X-Soracom-Api-Key
and X-Soracom-Token
even when SORACOM_VERBOSE
is set.
"soracom.exe" have 2 virus.
as-is:
Error: {"code":"COM0017","message":"SAM user \u0027makoto-api-test\u0027 doesn\u0027t have permission \u0027Stats:getAirStatsOfSim\u0027 to perform this action. Please ask your administrator for SAM permission configurations/statements. After the correct permission has been applied, please sign in again and retry it."}
to-be:
Error: {"code":"COM0017","message":"SAM user 'makoto-api-test' doesn't have permission 'Stats:getAirStatsOfSim' to perform this action. Please ask your administrator for SAM permission configurations/statements. After the correct permission has been applied, please sign in again and retry it."}
I'd like to add issue/pull request templates to automate routine tasks.
This would be beneficial for contributors to figure out what should they do.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.