Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CloudTrail の証跡から IAM ポリシーを生成する IAM Access Analy...

CloudTrail の証跡から IAM ポリシーを生成する IAM Access Analyzer の機能を AWS CLI から使ってみた話 /jawsug-asa-20-lt

JAWS UG 朝会 #20 の LT 資料です。
https://jawsug-asa.connpass.com/event/208498/

スライドの詳細
CloudTrail の証跡から IAM ポリシーを作成する IAM Access Analyzer の新機能を AWS CLI で試す - michimani.net
https://michimani.net/post/aws-get-started-generating-iam-policies-based-on-actual-activity/

Yoshihiro ITO

April 22, 2021
Tweet

More Decks by Yoshihiro ITO

Other Decks in Technology

Transcript

  1. # # AWS AWS CLI AWS Certificate Manager # :

    https://michimani.net / Yoshihiro Ito @michimani210
  2. 1. IAM Access Analyzer CloudTrail IAM IAM 90 ( )

    IAM JSON 
 IAM Access Analyzer makes it easier to implement least privilege permissions by generating IAM policies based on access activity https://aws.amazon.com/about-aws/whats-new/2021/04/iam-access-analyzer-easier-implement-least-privilege-permissions-generating-iam-policies-access-activity
  3. 2. AWS CLI IAM Access Analyzer aws accessanalyzer ・cancel-policy-generation ・get-generated-policy

    ・list-policy-generations ・start-policy-generation v1 1.19.47 v2 2.1.36 (2021/04/22 07:40 JST) 1.19.55 2.1.39
  4. 2. AWS CLI - get-generated-policy (JSON ) jq & :

    ReadOnly s3:PutObject s3:PutObject
  5. 2. AWS CLI - get-generated-policy (JSON ) jq & :

    ReadOnly s3:PutObject s3:PutObject
  6. 2. AWS CLI - get-generated-policy (JSON ) jq & :

    ReadOnly s3:PutObject s3:PutObject aws iam create-policy aws iam attach-role-policy
  7. 3. IAM Access Analyzer CloudTrail AWS CLI # CloudTrail IAM

    IAM Access Analyzer AWS CLI https://michimani.net/post/aws-get-started-generating-iam-policies-based-on-actual-activity/