jenkins instance (no ssh access) I have ansible plugin and I use all the time the inventory(ip/ssh passwords) and the playbooks as parameters for the job. I want to save it as files in the project. does saving the inventory file as plain text is a very bad practice? I didn't really know how to adress this from a security perspective
No, there are no security issues with the static inventory, moreover if you did everything cool and using internal networks, dont you?
Secrets should be stored and retreived from a secret store in your environment. Secrets such as passwords, certs, keys, tokens, sensitive information. I wonder if Hashicorps Vault would work here.
Try ansible vault. But you'd still need a way to provide the vault password securely.
Обсуждают сегодня