Skip to content

Feature request: support arrays for age and pgp fields in configuration #845

@johanfleury

Description

@johanfleury

Hey.

It would be great to be able to set age and PGP keys as arrays of strings in the configuration. This would be more in phase with YAML style and would allow putting comments, e.g.:

creation_rules:
  - path_regex: \.sops\.yaml$
    […]
    age:
      - age1xxx # Foo
      - age1yyy  # Bar
    pgp:
      - XXX, # Foo
      - YYY  # Bar

I believe sops already turns the comma separated values into an array internally, so that shouldn’t change the logic too much.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions