upsert method

Future<SecretEntry> upsert(
  1. SecretKey key,
  2. SecretValue value
)

Implementation

Future<SecretEntry> upsert(SecretKey key, SecretValue value) => _rpcManager
    .post('/secret/api-key/upsert', SecretKeyRefRequest(key: key))
    .then((value) => SecretEntry.fromJson(value));