
AWS token renewal mini app (internal)
Our developers get some quality of life work as well - here a tool for renewing AWS tokens.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Um, I lose my mind about twice a day when my AWS token expires. Um, and my machine gets really weird and I don't know what the hell's going on. Um, this is an internal thing, I guess, but you can share it, Colin, if you want to. Um, so I built a little app to tell me when things go wrong.
Um, so it's called Thundra. Thank you, Jared, for the artwork here. Um, if you look up here, you'll see there's a little menu here. It's a thunder icon. It's going to get better. Um, and what happens is you will actually, if I go in here, um, my token's got 32 minutes. I didn't time myself quite right. It'll turn yellow when you pass 30 minutes.
It'll turn red when it's dead. Um, and you can actually hit here. You can hit refresh here, and that'll actually trigger the AWS window to pop up and let you do things. Uh, it offers settings, which of course opened the other window. So you can pick where your repo is to get the R AWS access. You can change your check interval.
You can change your warning threshold. You can choose to have the dock icon which you have to use because it's pretty um or just the menu icon or one you can choose run on startup. So just a nice little piece of tooling there. And then uh it does have a little debug tool too so that I can demo this.
If I clear all my tokens, we'll see in a second here. It does take a second to refresh. So, I can just manually refresh here. I'm going to figure it out. Oh, sorry. I've hit the wrong button. Bad demo. Oh, keep up in my main window. So, this if I click the app icon, this is the little control window pulls up.
And uh let's do this. It's dead because I killed the tokens. So, you can hit refresh, it'll pop the AWS token. This is really awkward because it's multiple windows. Safari. So, pops up AWS. Come on. Um, and token's valid again. So, yeah, this nice little UI around a around token refreshing. It does pop uh and it even makes little noises when you run out.
So, it'll like pop a little um app um or native token um notification. So, yeah. Uh it is not ready for general use. I'm going to let a couple people beta it next week. I'm getting certified by Apple to sign the app so you don't have to go through I jinx. And once I get that done, I will let a few more folks try it and then I'll share docs and stuff.
Uh that said, go find the repo. You can go play with it, I guess. But no problem. It works. Is there any way to make it auto press the button on the wind on the window? Uh no, there's not. Uh for security reasons, you must interact with it. I I am like the big thing is like I didn't touch anything about how that flow works.
It's all Brian magic and it does not all it's doing is literally type in yarn AWS um for safety. It doesn't touch that stuff. So um hopefully I have not given Brian a heart attack by seeing this demo. But um yeah, no it's it it can't take care of that stuff. Sorry. Um yeah, still this is pretty sweet.
Yeah. Okay, that's it for me.