aws / aws/aws-cli

Enable reading cli-input-json from stdin

Open
#5,982 6 comments 52 reactions 0 assignees View on GitHub
feature-request p2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

**Is your feature request related to a problem? Please describe.**
I want to use aws-cli in a pipeline scenario. Therefore I want to pass as argument for `--cli-input-json` the value from stdin.

**Describe the solution you'd like**
The character `-` should serve as indicator, that the value for `--cli-input-json` should be read from stdin.

``` bash
cat sample.json | aws secretsmanager create-secret --cli-input-json -
```

**Describe alternatives you've considered**
No workaround available as far as I know.

**Additional context**
-

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.