logoalt Hacker News

8cvor6j844qw_d6today at 10:51 AM1 replyview on HN

> stop pasting secrets into Slack

You got me interested. I've seen sharing of API keys via Discords in hackathons.


Replies

mhitzatoday at 1:48 PM

You can use the age tool to encrypt secrets based on ssh public keys.

Here's a small shell script I use https://github.com/mhitza/toolbox/blob/main/scripts/encrypt-...

    encrypt-for github_username file