Skip to content

Support for multiline values #1929

@strarsis

Description

@strarsis

How can I write the contents of a multiline text file as value into vault?
As json file, which vault supports as file input, the newline characters still cause parse errors:

Error loading data: Invalid key/value pair '@/test.txt': invalid character '\n' in string literal

Also, for a json file, I have to prepend '{value:"' and append '"}' to
the file contents, including escaping quotes, which can be quite cumbersome.

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