Using Console
Using CLI
<policy-name>
with a suitable name for the policy and <policy-document.json>
with the JSON document containing the inline policy.<user-name>
with the IAM user’s name and <policy-arn>
with the ARN of the managed policy.Using Python
boto3
Python library.boto3
library to detach the inline policies.boto3
library.