aws / aws/aws-cli

support piping data into aws kms encrypt commands

Open
#2,777 8 comments 3 reactions 0 assignees View on GitHub
feature-request kms p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

Currently you cannot pipe ( | ) into the kms encrypt. Given that most of the data being encrypted is sensitive, it might be nice not write it to disk, especially if it is a generated token etc.

There is a work around

``aws kms encrypt --key-id xxxxx-xxxx-xxxx-xxxxx-xxxxxxx --output text --plaintext `jwtgen -a HS256 -s xyzw -c key1=value1` --query CiphertextBlob``

the ` on linux wraps the jwtgen command here. For Windows this wouldn't be possible. On linux kind of annoying to type it out this way as its hard to test, etc.

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.