Class KeyPair

  • public class KeyPair
    extends MorpheusModel
    Key pairs are commonly used by Morpheus for accessing instances via SSH. Morpheus stores key pairs to simplify administration and access across both private and public clouds.
    • Field Detail

      • name

        protected java.lang.String name
      • code

        protected java.lang.String code
      • publicKey

        protected java.lang.String publicKey
      • privateKey

        protected java.lang.String privateKey
      • passphrase

        protected java.lang.String passphrase
      • externalId

        protected java.lang.String externalId
      • publicFingerprint

        protected java.lang.String publicFingerprint
    • Constructor Detail

      • KeyPair

        public KeyPair()
    • Method Detail

      • getName

        public java.lang.String getName()
      • getCode

        public java.lang.String getCode()
      • getPublicKey

        public java.lang.String getPublicKey()
      • getPrivateKey

        public java.lang.String getPrivateKey()
      • getPassphrase

        public java.lang.String getPassphrase()
      • getExternalId

        public java.lang.String getExternalId()
      • getPublicFingerprint

        public java.lang.String getPublicFingerprint()
      • setName

        public void setName​(java.lang.String name)
      • setCode

        public void setCode​(java.lang.String code)
      • setPublicKey

        public void setPublicKey​(java.lang.String publicKey)
      • setPrivateKey

        public void setPrivateKey​(java.lang.String privateKey)
      • setPassphrase

        public void setPassphrase​(java.lang.String passphrase)
      • setExternalId

        public void setExternalId​(java.lang.String externalId)
      • setPublicFingerprint

        public void setPublicFingerprint​(java.lang.String publicFingerprint)
      • toMap

        public java.util.Map toMap()
        hash map of the KeyPair properties and values