Users
Simplecontainer allows multiple users to be created. All the objects created in the Key-Value store are identified by the user who created it.
Currently, no authorization is implemented but is planned as soon as possible.
Adding new user
To add a new user run:
smr users create new-user example.com IP_ADDRESS
This will create a new client certificate bundle for the specified users where example.com and IP_ADDRESS are added to the client certificate.
Domain example.com and IP_ADDRESS must already be in the CA certificate list of DNS and IPs. This is the reason why it is important to create a project with proper domains and IP addresses if CA is planned for multiple hosts.
A new client bundle can be read from $HOME/.ssh/simplecontainer/new-user.pem
.
With this bundle user can add new context and authenticate against simplecontainer same as for the root user.