Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support exporting all versions #265

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Support exporting all versions #265

wants to merge 2 commits into from

Conversation

FalcoSuessgott
Copy link
Owner

@FalcoSuessgott FalcoSuessgott commented May 28, 2024

closes #256, #124

  • docs
  • tests
  • import
  • add --all-versions flag
  • highlift diff options (use dyff)
  • handle destroyed & deleted secrets
> vkv export -p secret
secret/
├── admin
│   ├── [v2]  created 2024-05-28 05:57:52
│   │   ├── sub=password
│   │   └── w=w
│   │   
│   └── [v1]  created 2024-05-28 04:47:54
│       └── sub=password
│       
│   
├── demo
│   └── [v1]  created 2024-05-28 04:47:54
│       └── foo=bar
│       
│   
└── sub
    ├── demo
    │   └── [v1]  created 2024-05-28 04:47:54
    │       ├── user=admin
    │       ├── demo=hello world
    │       └── password=s3cre5<
    │       
    │   
    └── sub2
        └── demo
            ├── [v2]  created 2024-05-28 04:47:54
            │   ├── foo=bar
            │   ├── password=password
            │   └── user=user
            │   
            └── [v1]  created 2024-05-28 04:47:54
                ├── foo=bar
                ├── password=password
                └── user=user

@FalcoSuessgott
Copy link
Owner Author

FalcoSuessgott commented Jul 11, 2024

First example highlighting the diffs of secret versions:

image

I tried to make it similar to the terraform plan diff output

@FalcoSuessgott FalcoSuessgott force-pushed the refactor branch 7 times, most recently from df214a9 to 10e86dd Compare July 15, 2024 02:09
@FalcoSuessgott FalcoSuessgott force-pushed the refactor branch 2 times, most recently from affa3e2 to f6e89d2 Compare July 27, 2024 02:05
@FalcoSuessgott
Copy link
Owner Author

  • Vault Package Refactor & Printer & Tests done

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JSON format missing versions info
1 participant