Skip to content

Ability extract sub-part of the document tree with exec-file and exec-env #1096

@mikonieminen

Description

@mikonieminen

While decrypt allows me to extract sub-part of the document tree, I cannot do this with exec-file or exec-env.

Having ability to do this would be very useful.

I would expect something like the following to work:

sops exec-file --output-type json --extract '["server"]["privatekey"]' secrets.yaml "yarn start --private-key {}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions