# Where to put credentials PPPoE

**URL:** <https://forum.genieacs.com/t/where-to-put-credentials-pppoe/1025>\
**Category:** Uncategorized\
**Created:** [September 8, 2020, 2:16pm UTC](https://forum.genieacs.com/t/where-to-put-credentials-pppoe/1025 "2020-09-08T14:16:32Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![encarta](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@encarta](https://forum.genieacs.com/u/encarta)\
**Post date:** [September 15, 2020, 8:00am UTC](https://forum.genieacs.com/t/where-to-put-credentials-pppoe/1025/21 "2020-09-15T08:00:58Z")

</div>

pass the serialnumber when you call the extension script.

---

<div class="post-metadata">

**Author:** ![snuz](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@snuz](https://forum.genieacs.com/u/snuz)\
**Post date:** [September 15, 2020, 8:49am UTC](https://forum.genieacs.com/t/where-to-put-credentials-pppoe/1025/22 "2020-09-15T08:49:03Z")

</div>

Ok I did it but then i don’t know how to go about getting the json object I need.

I have this:

```
[
        {
                "CodiceCliente" :"154522",
                "NomeCliente":"boh",
                "SerialNumber":"4857544306F9E89E",
                "pppoe_username": "tgwetw",
                "pppoe_password": "twt5yw"
        },
        {
                "CodiceCliente" :"54852",
                "NomeCliente":"sainen",
                "SerialNumber":"48575443677B5B9E",
                "pppoe_username": "hthted",
                "pppoe_password": "hteh"
        }
]

```

Once I have passed the serialnumber to my extension script, what could I do for obtain for example:  
{  
“CodiceCliente” :“54852”,  
“NomeCliente”:“sainen”,  
“SerialNumber”:“48575443677B5B9E”,  
“pppoe\_username”: “hthted”,  
“pppoe\_password”: “hteh”  
}  
You are kind, thanks.

[Previous page](https://forum.genieacs.com/t/where-to-put-credentials-pppoe/1025.md?page=1)
