getsops / getsops/sops

Possibility to define filetypes as part of .sops.yaml

Open
#1,312 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
23.1k
Forks
1.1k
Avg merge
1d 11h
Merged PRs (30d)
9

Description

Hi there, I would like to encrypt dockerconfigjson files, which why ever are not ending on .json.

Using the command line I can add the --input-type argument, but I couldn't find a corresponding option for .sops.yaml creation_rules.

It would be great to specify key "input_type" in there, so that sops can also handle such extra files seamlessly

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the command-line --input-type option is handled and how .sops.yaml creation_rules are parsed. Confirm the configuration path for accepting an input_type value, then verify that dockerconfigjson files are handled through the configured rule without requiring the command-line option.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.