https://github.com/devcyclehq/aws-secrets-action
https://github.com/devcyclehq/aws-secrets-action
continuous-delivery continuous-deployment devcycle devops feature-flags feature-toggles openfeature
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devcyclehq/aws-secrets-action
- Owner: DevCycleHQ
- Created: 2024-10-23T16:00:30.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T17:04:40.000Z (7 months ago)
- Last Synced: 2024-10-23T23:28:25.206Z (7 months ago)
- Topics: continuous-delivery, continuous-deployment, devcycle, devops, feature-flags, feature-toggles, openfeature
- Homepage: https://docs.devcycle.com/
- Size: 9.77 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DevCycle Secrets Manager
This GitHub Action sets GitHub Secrets securely from AWS Secrets Manager.
## Inputs
- **`secrets_map`**: A JSON object of environment variables mapped to AWS Secrets Manager secret names. (required)
- **`role_prefix`**: The prefix of the role to assume in the target AWS account. Default: `GitHub-Actions-`. (required)
- **`aws_region`**: The AWS region where the secrets are stored. Default: `us-east-1`. (required)
- **`aws_account_id`**: The AWS account ID where the secrets are stored. . (required)## Usage
```yaml
name: Example Workflow
on: [push]jobs:
example-job:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2- name: Set Secrets
uses: ./
with:
secrets_map: '{"MY_SECRET": "my-aws-secret-name"}'
role_prefix: 'GitHub-Actions-'
aws_region: 'us-east-1'
aws_account_id: ''
```