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

Show backed up secrets from file #26300

Open
mihalt opened this issue Apr 8, 2024 · 0 comments
Open

Show backed up secrets from file #26300

mihalt opened this issue Apr 8, 2024 · 0 comments
Labels
core Issues and Pull-Requests specific to Vault Core question

Comments

@mihalt
Copy link

mihalt commented Apr 8, 2024

I use docker + file backend with command like this

sudo docker run --cap-add=IPC_LOCK -e 'VAULT_DEV_ROOT_TOKEN_ID={token}' -e 'VAULT_LOCAL_CONFIG={"storage": {"file": {"path": "/vault/file"}}, "listener": [{"tcp": { "address": "0.0.0.0:30001", "tls_disable": true}}], "default_lease_ttl": "168h", "max_lease_ttl": "720h", "ui": true}' -p "30001:30001" -v "/vault/file:/vault/file:rw" hashicorp/vault

I just copied /vault/file to another linux server to the same directory, installed vault with the same command and hoped, that I will able to see the same secrets by the same root token. But I've got error:
Error initializing Dev mode: Vault is already initialized

Can you say me, please, what did I do wrong? Can I see my backed up secrets or will you able to do feature that help to do it?

@mihalt mihalt changed the title Show backed up secrets from file Show backuped secrets from file Apr 8, 2024
@mihalt mihalt changed the title Show backuped secrets from file Show backed up secrets from file Apr 8, 2024
@hsimon-hashicorp hsimon-hashicorp added question core Issues and Pull-Requests specific to Vault Core labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues and Pull-Requests specific to Vault Core question
Projects
None yet
Development

No branches or pull requests

2 participants