<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: VIRAJ SARDHANA</title>
    <description>The latest articles on DEV Community by VIRAJ SARDHANA (@viraj_sardhana_d1bfa82bc9).</description>
    <link>https://dev.to/viraj_sardhana_d1bfa82bc9</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2520431%2F413baf50-fdf6-4981-b78b-6138073e0858.png</url>
      <title>DEV Community: VIRAJ SARDHANA</title>
      <link>https://dev.to/viraj_sardhana_d1bfa82bc9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/viraj_sardhana_d1bfa82bc9"/>
    <language>en</language>
    <item>
      <title>How can I enforce MFA before switching roles and using SSM login in AWS?</title>
      <dc:creator>VIRAJ SARDHANA</dc:creator>
      <pubDate>Wed, 04 Dec 2024 04:05:54 +0000</pubDate>
      <link>https://dev.to/viraj_sardhana_d1bfa82bc9/how-can-i-enforce-mfa-before-switching-roles-and-using-ssm-login-in-aws-2lm</link>
      <guid>https://dev.to/viraj_sardhana_d1bfa82bc9/how-can-i-enforce-mfa-before-switching-roles-and-using-ssm-login-in-aws-2lm</guid>
      <description>&lt;p&gt;Description:&lt;/p&gt;

&lt;p&gt;I need to enforce Multi-Factor Authentication (MFA) as a prerequisite for two actions in AWS:&lt;/p&gt;

&lt;p&gt;Switching roles: I want users to authenticate with MFA before they can assume a different IAM role. SSM login: I need to enforce MFA for users before they can use AWS Systems Manager (SSM) to log in to EC2 instances. I know that MFA can be enabled for IAM users, but I’m struggling to enforce it for these specific actions.&lt;/p&gt;

&lt;p&gt;Has anyone implemented this setup or have suggestions on how to enforce MFA during these workflows? Any examples of IAM policies or configurations would be greatly appreciated!&lt;/p&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>ssm</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
