-
[AWS
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
-
相关阅读:
洛谷 P1908 逆序对(树状数组解法)
洛谷 P1908 逆序对(归并排序解法)
洛谷 P3368 【模板】树状数组 2(区间修改点查询)
POJ 2833 The Average(优先队列)
POJ 2255 Tree Recoveryw(二叉树)
洛谷 P1540 机器翻译(队列)
POJ 1686 Lazy Math Instructor(栈)
队列中取最大值操作
相邻元素差的绝对值都是1,在这样的数组中找目标元素
双栈队列实现快速获取队列最大值最小值
-
原文地址:https://www.cnblogs.com/Answer1215/p/14879513.html
Copyright © 2020-2023
润新知