[AWS - DA] Advanced Identity

AWS STS - Security Token Service

  • Allows to grant limited and temporary access to AWS resource (up to 1 hour)
  • AssumeRole: Assume roles within your account or cross account
  • GetSessionToken: for MFA, from a user or AWS account root user
  • DecodeAuthorizationMessage: decode error message when an AWS API is denied
  • AssumeRoleWithSAML: return credentials for users logged with SAML
  • GetRederationToken: obtaini temporary creds for a federated user
  • GetCallerIdentity: return details about the IAM user or role userd in the API called

 

STS with MFA

  • User GetSessionToken from STS
  • Appropriate IAM policy using IAM conditions
  • aws:MultiFactorAuthPresent: true
  • Reminder, GetSessionToken
  • return:
    • AccessID
    • Secrect Key
    • SessionToken
    • Expiration date

 

IAM Policies & S3 Bucket Policies

  • IAM Policies are attached to user, roles, groups
  • S3 Bukcet Policies are attached to bucekts
  • When evaluating if an IAM Principal can perform an operation X on a bucket, the union of its assigned IAM policeis and S3 bucket policies will be evaluated

 

 

 

 

posted @   Zhentiw  阅读(71)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2020-06-28 [Javascript] HTML5 DOM project
2017-06-28 [WASM] Compile C Code into WebAssembly
2016-06-28 [Webpack 2] Use Karma for Unit Testing with Webpack
2016-06-28 [Webpack 2] Expose modules to dependencies with Webpack
点击右上角即可分享
微信分享提示