Interface PublicKeys

All Known Implementing Classes:
PublicKeysImpl

public interface PublicKeys
Client interface for managing SSH public keys on Network Edge. Provides operations to list, retrieve, and create public keys used for secure authentication to virtual devices.
Author:
ianjones
  • Method Details

    • list

      List<PublicKey> list()
      Lists available Public Keys.
      Returns:
      PaginatedList
    • list

      List<PublicKey> list(String accountUcmId)
      Lists available Public Keys for the provided accountUcmId.
      Parameters:
      accountUcmId - the unique account identifier.
      Returns:
      PaginatedList
    • define

      PublicKeyOperator.PublicKeyBuilder define(String keyName, String keyValue)
      Returns an instance of PublicKeyBuilder for defining a new Public Key.
      Parameters:
      keyName - the name of the new Public Key.
      keyValue - the value of the new Public Key.
      Returns:
      PublicKeyOperator.PublicKeyBuilder
    • delete

      Boolean delete(String uuid)
      Deletes a public key (DELETE /ne/v1/publicKeys/{uuid}). The endpoint is not in the published network-edgev1 spec; it answers 204 live (observed 2026-11-11).
      Parameters:
      uuid - the key id
      Returns:
      true when the deletion was accepted