code: public synchronized KeyAgent getKeyAgent() {
      if (this.keyAgent == null) {
        if (isService) {
          this.keyAgent =
              new KeyAgent(
                  this.serviceName,
                  this.projectId,
                  this.sslEnabled,
                  this.nfvoIp,
                  this.nfvoPort,
                  this.version,
                  this.serviceKey);
        } else {
          this.keyAgent =
              new KeyAgent(
                  this.username,
                  this.password,
                  this.projectId,
                  this.sslEnabled,
                  this.nfvoIp,
                  this.nfvoPort,
                  this.version);
        }
      }
      return this.keyAgent;
    }
docs: Returns a KeyAgent with which requests regarding Keys can be sent to the NFVO.
  
  @return a KeyAgent