Support substitution of key parameters from path_regex captures
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.1k
- Forks
- 1.1k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 9
Description
I would like to be able to write something like this:
creation_rules:
- path_regex: 'secrets\.(.*)\.(.*).yaml'
key_groups:
- kms:
- arn: arn:aws:kms:eu-central-1:999999:alias/sops-\2-\1
- kms:
- arn: arn:aws:kms:us-west-1:9999999:alias/sops-\2-\1
role: something-\1-more
context:
a: \1
b: xxx-\2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start by tracing how creation_rules path_regex captures and key_groups KMS fields are processed; done means captures such as \1 and \2 substitute consistently in ARN, role, and context values as shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, go
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100