Skip to content

Support for stdin for 'az storage blob upload' command #20980

@kenorb

Description

@kenorb

Is your feature request related to a problem? Please describe.

After running the following command:

$ echo foo bar buzz | az storage blob upload --container-name mycontainer -n test.txt -f /dev/stdin
{
  "etag": "\"0x8D...\"",
  "lastModified": "2022-01-13T21:50:19+00:00"
}

the blob content is empty.

Describe the solution you'd like

Correct content of the file should be uploaded.

Describe alternatives you've considered

Using a temporary file.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions