// Unseal the given Vault host using the given unseal keys
Unseal the given Vault host using the given unseal keys
// Unseal the given Vault host using the given unseal keys
func unsealNode(t *testing.T, host ssh.Host, bastionHost *ssh.Host, unsealKeys []string) {
	unsealCommands := []string{}
	for _, unsealKey := range unsealKeys {
		unsealCommands = append(unsealCommands, fmt.Sprintf("vault operator unseal %s", unsealKey))
	}
	unsealCommand := strings.Join(unsealCommands, " && ")
	description := fmt.Sprintf("Unsealing Vault on host %s", host.Hostname)
	retry.DoWithRetryE(t, description, 10, 10*time.Second, func() (string, error) {
		return runCommand(t, bastionHost, &host, unsealCommand)
	})
}
func unsealNode ( t * testing . T , host ssh . Host , bastionHost * ssh . Host , unsealKeys [ ] string ) { unsealCommands := [ ] string { } for _ , unsealKey := range unsealKeys { unsealCommands = append ( unsealCommands , fmt . Sprintf ( " " , unsealKey ) ) } unsealCommand := strings . Join ( unsealCommands , " " ) description := fmt . Sprintf ( " " , host . Hostname ) retry . DoWithRetryE ( t , description , 10 , 10 * time . Second , func ( ) ( string , error ) { return runCommand ( t , bastionHost , & host , unsealCommand ) } ) }
Unseal the given Vault host using the given unseal keys
Unseal the given Vault host using the given unseal keys