users: etcd authentication - users

Description Arguments Value Methods Examples

Description

etcd authentication - users

Arguments

user

(character) User name to create/delete

password

(character) Password to give the new user

roles

(list/character vector) Roles to give the new user

auth_user, auth_pwd

(character) Username and password for the authenticated user, the root user

...

Further args passed on to GET, PUT, or DELETE

Value

see return for each method

Methods

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
# make a client
cli <- etcd()

# Add user
cli$user_add("jane", "janepwd", "root", "pickbetterpwd")

# List users
cli$user_list()

# Get a single user
cli$user_get("root")
cli$user_get("jane")

# Delete user
cli$user_delete("jane", "root", "pickbetterpwd")

## End(Not run)

etseed documentation built on May 2, 2019, 10:20 a.m.