Adding token creation for operations
[aaf/sms.git] / sms-service / src / sms / config / config.go
index e1c1b86..b7f97d2 100644 (file)
@@ -21,12 +21,16 @@ import (
        "os"
 )
 
+// SMSConfiguration loads up all the values that are used to configure
+// backend implementations
+// TODO: Review these and see if they can be created/discovered dynamically
 type SMSConfiguration struct {
        CAFile     string `json:"cafile"`
        ServerCert string `json:"servercert"`
        ServerKey  string `json:"serverkey"`
 
        VaultAddress string `json:"vaultaddress"`
+       VaultToken   string `json:"vaulttoken"`
 }
 
 // SMSConfig is the structure that stores the configuration