Skip to content

Enable reading cli-input-json from stdin #5982

@apanys

Description

@apanys

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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions