首页 > 其他分享 >AWS Certificate SAA - Course 2 IAM & AWS CLI

AWS Certificate SAA - Course 2 IAM & AWS CLI

时间:2023-06-28 11:26:26浏览次数:50  
标签:IAM MFA CLI AWS policy password your

IAM: Users & Groups

  • IAM = Identity and Access Management, Global service
  • Root account created by default, shouldn't be used or shared
  • Users are people within your organization, and can be grouped

IAM: Permisions

  • Users are Groups can be assigned JSON documents called policies
  • Theses policies define the permisions of the users
  • in AWS you apply the least privilege principle: don`t give more permissions than a user needs

IAM Policies inheritance

IAM Policies Structure

  • Consists of

    • Version: policy language version, always include "2012-10-17"
    • ID: an identifier for the policy(optional)
    • Statement: one or more individual statements(required)
  • Statements consists of

    • SID: an identifier for the statement(optional)
    • Effect: whether the statement allows or denies access(Allsow, Deny)
    • Principal: accountuser/role to which this policy applied to
    • Action: list of actions this policy allows or denies
    • Resource: list of resources to which the actions applied to
    • Condition: conditions for when this policy is in effect(optinal)

IAM - Password Policy

  • Strong passwords = higher security for your account
  • in AWS, you can setup a password policy:
    • Set a minimum password length
    • Require specific character types:
      • including uppercase letters
      • lowercase letters
      • numbers
      • non-alphanumeric characters
    • Allow all IAM users to chagne their own passwords(password expiration)
    • Prevent password re-use

Multi Factor Authentication - MFA

  • Users have access to your account and can possibly change configurations or delete resources in your AWS account
  • You want to protect your Root Accounts and IAM users
  • MFA = password you know + security device you own
  • Main benefit of MFA:
    if a password is stolen or hacked, the account is not compromised

MFA devices options in AWS

  1. Virtual MFA device

    1. Google Authenticator(phone only)
    2. Authy(multi-device)
      Support for multiple tokens on a single device
  2. Universial 2nd Factor(U2F) Security Key

    • YubiKey by Yubico(3rd party)
      Support for multiple root and IAM users using a single security key
  3. Hardware key Fob MFA Device

  4. Hardware Key Fob MFA Device for AWS GovCloud(US)

标签:IAM,MFA,CLI,AWS,policy,password,your
From: https://www.cnblogs.com/MY1993/p/17510890.html

相关文章

  • Kubernetes编程——client-go基础—— Go语言中的 Kubernetes 对象介绍
    Go语言中的Kubernetes对象介绍 我们接下来更详细了解在Go语言的语境下的Pod(或者其他任何Kubernetes资源)是什么样的? Kubernetes中的资源(或者更准确说是对象)都是某种类型的实例。我理解意思是说:在Kubernetes中,资源或对象是指由Kubernetes控......
  • jsjiami.v6版本JS解密效果代码详解
    JS加密和解密这两者的关系并不是单纯的矛和盾的关系,市面上很多的所谓完全不可逆JS加密是不怎么靠谱的说法,没有绝对的不可逆加密。当然也没有绝对的JS解密,在时间成本上来说JS加密比解密要快的多。如果你需要对一个使用jsjiami.v6加密的JavaScript代码进行修改或解析,就需要进行解密......
  • AWS Certificate SAA - Course 1 Getting started with AWS
    AWSCoulduseCasesAWSenablesyoutobuildsophisticated,scalableapplicationsApplicabletoadiversesetofindustriesUsecasesincludeEnterpriseIT,Backup&Storage,BigDataanalyticsWebsitehosting,Mobile&SocialAppsGamingAWS......
  • Unable to load '@webpack-cli/serve' command 报错问题
    [webpack-cli]Unabletoload'@webpack-cli/serve'command[webpack-cli]TypeError:options.forEachisnotafunctionatWebpackCLI.makeCommand(E:\vue-workspace\change-row-color\node_modules\webpack-cli\lib\webpack-cli.js:173:21)atS......
  • eclipse中使用maven插件的有关问题:Updating index central|http://repo1.maven.org/m
    eclipse中使用maven插件的问题:Updatingindexcentral|http://repo1.maven.org/maven2问题产生如下:因为单位使用了过滤,访问Internet时,超过10M的内容就拒绝。因为maven插件在初始时,需要下载Maven的index文件,这个文件比较大,有38M多,下载不成功。所以造成使用Maven添加依赖项时(AddDep......
  • Spring Boot系列教程一:Eclipse安装spring-tool-suite插件
    一.前言    一直使用eclipse,个人习惯选用Eclipse+spring-tool-suite进行开发,特别注意Eclipse要选用对应的spring-tool-suite进行安装,这点笔者浪费了好长时间,以下为对应的版本。eclipse-kepler.4.3.1–>springsource-tool-suite-RELEASE-e4.3.1-updatesite.zipecl......
  • Windows下安装ClickHouse图文教程
    @[toc]ClickHouse是没有Windows版的,所以我们要想安装在windows上,一般会选择安装在Docker容器中1.安装WSL2因为在Docker运行的时候需要使用Linux内核,WSL2是Windows10专业版和企业版的功能,它允许在Windows上运行原生的Linux二进制文件。DockerDesktopforWindows使用WS......
  • Eclipse3.6 + Tomcat7 + Jdk1.6配置
     Eclipse3.6+Tomcat7+Jdk1.6配置管理Eclipse上的tomcat的插件SysdeoEclipseTomcatLauncherpluginhttp://www.eclipsetotale.com/tomcatPlugin.html-----正文开始----一直以来都是很容易的将eclipse与tomcat结合使用,但是最近想试用tomcat7的时候,却突然发现eclipse将web服务......
  • ClimaX
    摘要:当前大多数模型使用整理好的同质的数据,也就是说针对特定数据特定下游任务的。ClimaX使用跨越不同变量、空间位置、物理基础的异构数据,也就是说是一个经过自监督预训练(CMIP6)的大模型。intro:第一个问题:训练大模型要使用非常大的数据集进行与训练,NLP和CV使用了互联网规模的数据......
  • 003.clickhouse-ck输出所有的表结构
    --clickhouse输出库中表结构--输出所有表名clickhouseclient--host1xx.xxx.xx.xx--userxx_xx--passwordxxxx--multiquery--query="usedefault;showtables;">default_table.txtvimecho_table_ck.sh--输出所有表结构#!/bin/bashecho'usedefault;&......