Have you ever felt stupid for copying text blocks and inserting them into a specific file again and again. I have joined yet another project using AWS and in doing so I have gotten myself yet another project where I have to regularly update my ~/.aws/credentials file everytime the token lifetime has expired.
Basically that is not a bad thing and I think it is a good addition to security. But I really think copying the keys every ~2 hours is tedious.
Based on that I thought about creating a small tool, that allows me to recognize when those credentials have been added to Windows' clipboard buffer and then immediately have the tool overwrite the aws credentials file with the new keys.
- Instead of using my own win32 interface, I found Willy Kimura's SharpClipboard, which I was able to easily incorporate into my tool.
- Modularize the application, allowing the creation of Plugins that can be registered into the tool and be used as subscribers to specific Copy-Content-Types
- Add Configuration Panels for Plugins
So feel free to use, fork and update the tool with your own ideas and plugins, and create pull-requests, if you have interesting ones ;-) Thanks in advance!
- Willy Kimura for providing the SharpClipboard nuget package and if you like my ClipboardObserver, please also consider to buy Willy a coffee. I really like that I can easily use his nuget package without having to wrap my mind about that part of the code.