mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-04 04:28:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			349 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			349 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package main
 | 
						|
 | 
						|
import (
 | 
						|
	"log"
 | 
						|
	"os"
 | 
						|
 | 
						|
	"github.com/hashicorp/vault/api"
 | 
						|
	"github.com/hashicorp/vault/plugins/database/mssql"
 | 
						|
)
 | 
						|
 | 
						|
func main() {
 | 
						|
	apiClientMeta := &api.PluginAPIClientMeta{}
 | 
						|
	flags := apiClientMeta.FlagSet()
 | 
						|
	flags.Parse(os.Args[1:])
 | 
						|
 | 
						|
	err := mssql.Run(apiClientMeta.GetTLSConfig())
 | 
						|
	if err != nil {
 | 
						|
		log.Println(err)
 | 
						|
		os.Exit(1)
 | 
						|
	}
 | 
						|
}
 |