public static async Task <List <BackupSecretResult> > BackupSecretsAsync(List <string> secrets) { // Performs the backup and add the result into the list. var results = new List <BackupSecretResult>(); foreach (var name in secrets) { var result = await _kv.BackupSecretAsync(_baseUri, name).ConfigureAwait(false); results.Add(result); } // Returns the backup results. return(results); }