Configure users, authorised for SSH access.
Configure users, authorised for SSH access.
(authorize-user-key username path-or-bytes)
Authorise a single key, specified as a path or as a byte array.
Authorise a single key, specified as a path or as a byte array.
(configure {:keys [instance-id] :as options})
Creates users.
Creates users.
(server-spec settings)
Convenience server spec to add users.
Convenience server spec to add users.
(user)
(user {:keys [username public-key-paths public-keys create-user create-home
user-options]
:as options})
Add a user
Builds a user.
:username
: the username to create. Defaults to the current admin user.
:public-key-paths
: a sequence of paths to public keys to be authorised on the user
:create-user
: a flag to create the user. Defaults to true if the user doesn't
exist.
:create-home
: a flag to create the user's home directory. Defauts to true. When
users are managed by, e.g. LDAP, you may need to set this to false.
:user-options
: a map of options to pass to the user
action when creating the
user.
Add a user Builds a user. `:username` : the username to create. Defaults to the current admin user. `:public-key-paths` : a sequence of paths to public keys to be authorised on the user `:create-user` : a flag to create the user. Defaults to true if the user doesn't exist. `:create-home` : a flag to create the user's home directory. Defauts to true. When users are managed by, e.g. LDAP, you may need to set this to false. `:user-options` : a map of options to pass to the `user` action when creating the user.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close