// Initialize the Vault cluster, filling in the unseal keys in the given vaultCluster struct
Initialize the Vault cluster, filling in the unseal keys in the given vaultCluster struct
// Initialize the Vault cluster filling in the unseal keys in the given vaultCluster struct
func initializeVault(t *testing.T, vaultCluster *VaultCluster, bastionHost *ssh.Host) string {
	return retry.DoWithRetry(t, "Initializing the cluster", 5, 5*time.Second, func() (string, error) {
		output, err := runCommand(t, bastionHost, &vaultCluster.Leader, "vault operator init")
		logger.Logf(t, "Vault init output: %s", output)
		return output, err
	})
}
func initializeVault ( t * testing . T , vaultCluster * VaultCluster , bastionHost * ssh . Host ) string { return retry . DoWithRetry ( t , " " , 5 , 5 * time . Second , func ( ) ( string , error ) { output , err := runCommand ( t , bastionHost , & vaultCluster . Leader , " " ) logger . Logf ( t , " " , output ) return output , err } ) }
Initialize the Vault cluster, filling in the unseal keys in the given vaultCluster struct
Initialize the Vault cluster filling in the unseal keys in the given vaultCluster struct