@peccul is peccu

(love peccu '(emacs lisp cat outdoor bicycle mac linux coffee))

2021-06-12から1日間の記事一覧

IAMポリシーをいじってて出くわすEncoded authorization failure messageをデコードして整形する関数

tl;dr いちいち調べてデコードするの面倒なので関数にした。きっと関数名を忘れてググる。 .bashrcなどに以下のように書いておく function decode-aws-authorization-message(){ aws sts decode-authorization-message \ --encoded-message $1 \ | jq -r '.D…