AWS IAM
AWS の iam について
いわゆるユーザーは IAM user である
IAM users - AWS Identity and Access Management
Google Workspace アカウントでログインさせたい
AWS 的には IAM Identity Center で管理することを推奨?
ユーザー管理
おそらく Identity Center を使えるなら使うのが一番良い?
AWS IAM Identity Center を使わないマルチアカウント環境のユーザー管理 #devio2024 | DevelopersIO
Security best practices in IAM - AWS Identity and Access Management
いわゆる assume role, switch role のことだろう
policy が権限を決めている
policy を iam user や group に attach する
principal
The person or application that used an entity (user or role) to send the request
https://docs.aws.amazon.com/IAM/latest/UserGuide/intro-structure.html#intro-structure-request
action を行う主体のことだと思われる。IAM user やサービスやロールが principal になり得る
サービスがもっている権限は service-linked role らしい
AWS services that work with IAM - AWS Identity and Access Management
GCP には IAM role 一覧のドキュメントがあるのだが、そういうのはないの?
https://cloud.google.com/iam/docs/understanding-roles#resource-manager-roles
CLI 叩けば取得できるみたいだが、そうではないのだよ、、、
この辺か?
CreateUser - AWS Identity and Access Management
ある action の権限が足りないと言われるが、その action を許可している default の policy があるかをどうやって調べればいいのか?
terraform でリソース作るのが面倒、、、、
kms の key を作りたいが、kms の全権限はつけたくない、が、key をつくるのに必要な権限がなにとなにとなになのかがわからない
そんなことないじゃん、ちゃんと書いてあるじゃん
Creating keys - AWS Key Management Service
最小権限の原則に基づく IAM Identity Center運用のためにTEAMを導入しました #AWS - Qiita
Identity Center での権限付与の流れ
User, Group, Permission set が存在する前提
アカウントに対して、グループやユーザーを選び、どの権限セットを与えるか、という定義をする