Skip to content

Allow upload of files to the c8y binary storage via tedge cli #1315

@mbay-ODW

Description

@mbay-ODW

Is your feature improvement request related to a problem? Please describe.
The configuration/log plugin has implemented a logic to upload files to the binary storage of Cumulocity,
However if I develop an own plugin and need to upload files to the binary storage of c8y, I currently can not do so without implementing own Rest API logic into my plugin, using the jet token etc. .

Describe the solution you'd like
Since file upload logic is already available somehow in the code I would basically wish something on the cli such as:

tedge file upload c8y --file /test/filename.txt

For the cli I used the structure of the cert upload. I would basically expect to get back the binaryID of the uploaded file.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions