Skip to content

i have some questions to ask why etcd can create a hidden node and when i need to use it? #6375

Closed
@cherylhan

Description

@cherylhan

recently,i am reading zhe website https://coreos.com/etcd/docs/latest/api.html。and,i want ask some question?

Activity

gyuho

gyuho commented on Sep 7, 2016

@gyuho
Contributor

What do you mean by hidden node? And feel free to ask questions here.

cherylhan

cherylhan commented on Sep 7, 2016

@cherylhan
Author

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

heyitsanthony commented on Sep 7, 2016

@heyitsanthony

@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.

xiang90

xiang90 commented on Sep 13, 2016

@xiang90
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @xiang90@gyuho@cherylhan@heyitsanthony

        Issue actions

          i have some questions to ask why etcd can create a hidden node and when i need to use it? · Issue #6375 · etcd-io/etcd