can you encrypt sdb values and have salt auto decrypt?

61 views
Skip to first unread message

Diego Barrantes

unread,
Jun 4, 2019, 8:23:15 AM6/4/19
to Salt-users
Hello, I'm saving some data in sdb database (sqlite) that is used in .conf profile files.

  .
  .
  user: sdb://mysqlite/sdb/user
  password: sdb://mysqlite/sdb/pass
  .
  .

is there a way to have it encrypted and decripted on usage?

Thank you
Diego

Daniel Wallace

unread,
Jun 4, 2019, 9:34:14 AM6/4/19
to salt-...@googlegroups.com
Only if you use an sdb module like the yaml one that allows you to
encrypt and decrypt gpg data.

https://docs.saltstack.com/en/latest/ref/sdb/all/salt.sdb.yaml.html
> --
> You received this message because you are subscribed to the Google Groups "Salt-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/02410547-2434-48af-bdb0-d2cfe45579e9%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages