百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

actionhero

> 编程语言
开源

Action Hero 什么是 Action Hero? Action Hero 是一个侧车风格的工具,用于帮助为 AWS 创建最小权限的 IAM 策略。为什么要使用 Action Hero?

186 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Action Hero 什么是 Action Hero? Action Hero 是一个侧车风格的工具,用于帮助为 AWS 创建最小权限的 IAM 策略。为什么要使用 Action Hero?

Action Hero

What is Action Hero?

Action Hero is a sidecar style utility to assist with creating least privilege IAM Policies for AWS.

Why is it needed?

Commonly developers begin creating infrastructure as code with more permissive roles that have administrative access to rapidly iterate. However, trying to create a more finely scoped set of permissions can be painful and time consuming.

Action Hero provides a means to capture all required permissions during the more permissive iterations to make it easier to create an IAM role with just the required permissions.

How does it work?

Action Hero uses a feature of the AWS SDK known as Client Side Monitoring. This feature sends AWS API calls to a local udp port (31000 by default)

Summit Route discusses the feature in this post (which was the inspiration for this tool)

Prerequisites

As discussed in the above post export AWS_CSM_ENABLED=true must be run in the shell or set in a profile where the tool using the SDK will be run. For example if you're using terraform it would need to be exported in the shell that the plan/apply would be run from

The environment variable AWS_CSM_PORT can also be used to override the port CSM actions are sent to, and what port Action Hero listens on. This would need to be exported in both shells if used.

Installation

Binaries are available from the releases page

A docker image is also available from docker hub

Running Action Hero

In a seperate terminal from where you are using the SDK run the binary

./actionhero

Alternatively you can use a docker run command

docker run -e "IN_DOCKER=True" -p 127.0.0.1:31000:31000/udp --rm princespaghetti/actionhero:latest

Ctrl+C can be used to terminate the process safely

Walkthrough

Please see this blog post for sample usage of the tool.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言