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

Option to disable registration_info.json backups when running --account #937

Open
GrantGryczan opened this issue Apr 10, 2024 · 0 comments

Comments

@GrantGryczan
Copy link

GrantGryczan commented Apr 10, 2024

Suggestion

I'd like an option to not generate backups when running dehydrated --account, because currently the backups just don't get automatically cleaned up otherwise. And I really have no use for these backups.

image

Here's the line that backs up the file:

cp -p "${ACCOUNT_KEY_JSON}" "${ACCOUNT_KEY_JSON_BACKUP}"

Why not just delete the backup files if I don't need them?

Well not only is that inconvenient, but in my case, I'm developing a Docker image integrating dehydrated with a declarative config. Ideally, a user of my image should be able to change their ACME account email without having to manually go into the Docker volume to delete these backup files. I could delete them automatically, but dehydrated also outputs a message saying the file was backed up, so deleting them would make that message misleading.

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

No branches or pull requests

1 participant