diff --git a/builtin/logical/nomad/backend.go b/builtin/logical/nomad/backend.go
index <HASH>..<HASH> 100644
--- a/builtin/logical/nomad/backend.go
+++ b/builtin/logical/nomad/backend.go
@@ -44,6 +44,10 @@ func (b *backend) client(s logical.Storage) (*api.Client, error) {
 		return nil, err
 	}
 
+	if conf == nil {
+		return nil, err
+	}
+
 	nomadConf := api.DefaultConfig()
 	nomadConf.Address = conf.Address
 	nomadConf.SecretID = conf.Token
Return error before creating a client if conf is nil