列表使用BOTO3附加到角色附加的内联策略
我想列出角色所附的所有内联策略。 我尝试使用 cole_list = client.list_attached_role_policies(rolename = roun_name),但它仅返回仅托管策略的列表,而不是内联策略。 如何获得使用Boto3附加到角色的内联策略列表。
I want to list all the inline policies attached to a role.
I tried using role_list=client.list_attached_role_policies(RoleName=role_name), but it returns list of managed policies only and not the inline policies.
How can I get list of inline polices attached to a role using boto3.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须使用:
You have to use list_role_policies: