Yeah I just saw that ... debugging so many things loosing track!
Cool!
Mine came from initial setup.. it is in my kibana.yml notice the Lock Icon.
If I take it out of the kibana.yml and add it in the way you did...
This is all good learnings... even we are still learning agent