upsertMany method

Future<Iterable<SecretEntry>> upsertMany(
  1. Map<SecretKey, SecretValue> entries
)

Implementation

Future<Iterable<SecretEntry>> upsertMany(
        Map<SecretKey, SecretValue> entries) async =>
    (await _rpcManager.post(
            '/secret/upsert',
            SetSecretRequest(
                entries: entries.entries.map((e) =>
                    SetSecretRequestEntry(key: e.key, value: e.value)))))
        .map((e) => SecretEntry.fromJson(e));