tellerops / teller

Cloud native secrets management for developers - never leave your command line for secrets.
https://github.com/tellerops/teller
Apache License 2.0
2.8k stars 183 forks source link

Teller v1 to v2 migration guide? #282

Open d-a-n42 opened 2 months ago

d-a-n42 commented 2 months ago

Hey,

thanks for providing this awesome project.

Homebrew just updated Teller on my machine to version 2. Nothing is working anymore. I could not find a changelog or migration guide. This is my current teller config:

project: project-id
carry_env: true

providers:
  dotenv:
    env_sync:
      path: .env.project-id

How does the config need to be changed for Teller 2.0?

jondot commented 2 months ago

Hi, for now the best way is to take a look at example configs. The new config format should be simpler: you have a few config examples here: https://github.com/tellerops/teller/tree/master/teller-cli/fixtures

jeremyj563 commented 2 months ago

Better yet would be a migration tool (or command such as teller migrate)

jderieg commented 2 months ago

I tried following the examples to migrate my teller config to v2 for working with Hashicorp Vault. It did not work. At all. A migration tool would be fantastic.