Interface PublicKey

All Known Implementing Classes:
PublicKeyWrapper

public interface PublicKey
An SSH public key (PublicKeyResponse in the network-edge v1 catalog spec).
Author:
ianjones
  • Method Details

    • getUuid

      String getUuid()
    • getKeyName

      String getKeyName()
    • getKeyValue

      String getKeyValue()
    • getKeyType

      KeyType getKeyType()
      Key type, whether RSA or DSA (PublicKeyResponse.keyType).
    • delete

      Boolean delete()
      Deletes this key (DELETE /ne/v1/publicKeys/{uuid}, live endpoint not in the published spec). The wrapper keeps its last known state afterwards.
      Returns:
      true when the deletion was accepted