Added helpful message to show secrets are being injected

This commit is contained in:
Maidul Islam
2022-11-20 00:24:19 -05:00
parent 47ad4f0620
commit 2420a41bb7
2 changed files with 2 additions and 1 deletions

View File

@@ -94,6 +94,7 @@ func init() {
// Credit: inspired by AWS Valut
func execCmd(command string, args []string, envs []models.SingleEnvironmentVariable) error {
log.Infof("\x1b[%dm%s\x1b[0m", 32, "\u2713 Injected Infisical secrets into your application process successfully")
log.Debugln("Secrets to inject:", envs)
log.Debugf("executing command: %s %s \n", command, strings.Join(args, " "))
cmd := exec.Command(command, args...)