Yep the answers is into source code that you linked me.
However for find the correct configuration I created first the permission role with etcdctl and option --prefix, and after I invoke the
[POST] /v3/auth/role/get for discover the correct setting.
In my case the prefix "secret." is been transform in this way:
"perm": [
{
"permType": "READWRITE",
"key": "c2VjcmV0Lg==",
"range_end": "c2VjcmV0Lw=="
}
]
key and range_end are dei base64 form of "secret." and "secret/"
I have resolved
thank again for your help
Diego