etcdctl3(1)

NAME

etcdctl-put - Puts the given key into the store

SYNOPSIS

ETCDCTL=3 etcdctl put [OPTIONS]

DESCRIPTION

Puts the given key into the store.

When <value> begins with '-', <value> is interpreted as a flag. Insert '--' for workaround:

$ put <key> -- <value> $ put -- <key> <value>

If <value> isn't given as a command line argument and '--ignore-value' is not specified, this command tries to read the value from standard input.

If <lease> isn't given as a command line argument and '--ignore-lease' is not specified, this command tries to read the value from standard input.

For example, $ cat file | put <key> will store the content of the file to <key>.

OPTIONS

--ignore-lease[=false]
    updates the key using its current lease

--ignore-value[=false]
    updates the key using its current value

--lease="0"
    lease ID (in hexadecimal) to attach to the key

--prev-kv[=false]
    return the previous key-value pair before modification

OPTIONS INHERITED FROM PARENT COMMANDS

--cacert=""
    verify certificates of TLS-enabled secure servers using this CA bundle

--cert=""
    identify secure client using this TLS certificate file

--command-timeout=5s
    timeout for short running command (excluding dial timeout)

--debug[=false]
    enable client-side debug logging

--dial-timeout=2s
    dial timeout for client connections

--endpoints=[127.0.0.1:2379]
    gRPC endpoints

--hex[=false]
    print byte strings as hex encoded strings

--insecure-skip-tls-verify[=false]
    skip server certificate verification

--insecure-transport[=true]
    disable transport security for client connections

--key=""
    identify secure client using this TLS key file

--user=""
    username[:password] for authentication (prompt if password is not supplied)

-w, --write-out="simple"
    set the output format (fields, json, protobuf, simple, table)

SEE ALSO

etcdctl(1)

HISTORY

20-Nov-2017 Auto generated by spf13/cobra