We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When you want to get an actual policy to edit, you export it via vault policy read POLICYNAME > FILE
vault policy read POLICYNAME > FILE
But the format command makes changes to FILE:
cp FILE FILE_FMT vault policy fmt FILE_FMT diff FILE FILE_FMT
In my case fmt adds linebreaks.
To Reproduce Steps to reproduce the behavior:
Expected behavior vault policy fmt should not make changes to the output of vault policy read
vault policy fmt
vault policy read
I guess running the read commando should pipe the output also through fmt and it would be fine
Environment:
vault status
vault version
Vault server configuration file(s):
should not be necessary
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When you want to get an actual policy to edit, you export it via
vault policy read POLICYNAME > FILE
But the format command makes changes to FILE:
In my case fmt adds linebreaks.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
vault policy fmt
should not make changes to the output of
vault policy read
I guess running the read commando should pipe the output also through fmt and it would be fine
Environment:
vault status
): 1.18.3vault version
): 1.18.3Vault server configuration file(s):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: