Thanks to visit codestin.com
Credit goes to github.com

Skip to content

encrypted_regex for particular nodes in yaml? #1367

@craighurley

Description

@craighurley

Hello,

For the given yaml, how can I write an encrypted_regex to only match "Default" under "B"?

A:
  Type: string
  Default: string

B:
  Type: string
  Default: string

If I use encrypted_regex: "Default", it encrypts "Default" under both "A" and "B".

Version info

$ sops -v
sops 3.8.1 (latest)

Thank you.

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