Search code examples
ruby-on-railschef-habitat

how to manage secrets of rails app while deploying application with chef habitat?


I am looking for how can I manage my passwords/credentials while deploying my rails application with habitat. so that I don't have to commit my credentials into the version control.


Solution

  • after researching a lot I found a work around for the credentials.

    so habitat credentials are stored in .toml file and you can use these credentials directly. now we need to send this toml file to server directly if we do not want to commit file.

    or we can create databags.