You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
like this curl http://127.0.0.1:2379/v2/keys/_message -XPUT -d value="Hello hidden world"
when i need to use this? if i forget the path,how can i find it?
@cherylhan the hidden node is useful if you want to store extra keys in a directory but you don't want it to show up on an ls. If you forget the path there's no direct way to find it again. Two indirect ways to find the path to a hidden node would include modifying the etcd store package to list hidden nodes on ls or migrating the v2 store to v3 and listing all the keys.
The hidden was designed for security through obscurity. So you cannot find the hidden key from API which is by design. You can find it if you can access the local disk though.
Activity
gyuho commentedon Sep 7, 2016
What do you mean by
hidden node
? And feel free to ask questions here.cherylhan commentedon Sep 7, 2016
like this curl http://127.0.0.1:2379/v2/keys/_message -XPUT -d value="Hello hidden world"
when i need to use this? if i forget the path,how can i find it?
heyitsanthony commentedon Sep 7, 2016
@cherylhan the hidden node is useful if you want to store extra keys in a directory but you don't want it to show up on an
ls
. If you forget the path there's no direct way to find it again. Two indirect ways to find the path to a hidden node would include modifying the etcdstore
package to list hidden nodes onls
or migrating the v2 store to v3 and listing all the keys.xiang90 commentedon Sep 13, 2016
The hidden was designed for security through obscurity. So you cannot find the hidden key from API which is by design. You can find it if you can access the local disk though.