Jitsi Meet external API make meeting password protected or make authenticated

I have installed Jitsi at my server and I am using below code to create meeting at my sub domain

<script src="https://meet.jit.si/external_api.js"></script>
            var mID = getUrlVars()["m"];
                var domain = "Added y domain here";
                var options = {
                    roomName: mID,
                    width: 1024,
                    height: 900,
                    parent: undefined,
                    configOverwrite: {},
                    interfaceConfigOverwrite: {
                        filmStripOnly: false
                var api = new JitsiMeetExternalAPI(domain, options);
                api.executeCommand('displayName', userName);

                //api.executeCommand('password', 'abc123456'); 

            console.log('====' + JSON.stringify(api));

            function getUrlVars(){
                var vars = [], hash;
                var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
                for(var i = 0; i < hashes.length; i++)
                    hash = hashes[i].split('=');
                    vars[hash[0]] = hash[1];
                return vars;

Meeting is working fine , I just want to make this meeting password protected or somehow want to make it authenticated so that only authorize users can access the meeting. Please suggest how can I do that.

did you miss the secure domain part or do you have an use case that is not compatible with it ?

You mean https? … yes I am using https server… could you please guide me a bit more what I missed please.