appleboy / appleboy/lambda-action
Support for temporary credential with OIDC
- Lenguaje dominante
- D2
- Estrellas
- 435
- Forks
- 57
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## This should be in gist but no other place to put it.
This action supports the use of OIDC for authentication
## Instead of the AWS Access KEY, which inherits human flaws and cannot be whitelisted
```
uses: appleboy/lambda-action@v0.2.0
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
function_name: gorush
zip_file: output.zip
dry_run: true
```
## With OIDC/AUTH2, granular permissions can be given with temporary access.
The example below shows the action used with OIDC support.
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.awsAccountId }}:role/github-actions-oidc-role
aws-region: ${{ secrets.AWS_REGION }}
- name: Deploy function
uses: appleboy/lambda-action@v0.2.0
with:
function_name: function_name
zip_file: funciton.zip
aws_region: region_name
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza leyendo el workflow de ejemplo del issue y compara las entradas existentes de AWS para las claves de acceso con el paso aws-actions/configure-aws-credentials@v4. Determina cómo recibe las credenciales esta action y cómo debería ser el uso basado en OIDC; se considerará terminado cuando un rol temporal pueda desplegar la Lambda sin entradas estáticas de claves de acceso y la documentación o la validación del workflow cubra el ejemplo.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, github-actions
- Área
- ci-cd, cloud
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 32/100