Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing file .vaultclient.conf in S3 docker #80

Open
xaf-scality opened this issue Jun 14, 2016 · 2 comments
Open

missing file .vaultclient.conf in S3 docker #80

xaf-scality opened this issue Jun 14, 2016 · 2 comments

Comments

@xaf-scality
Copy link

From a very fresh install:
./vaultclient create-account --name xfabre --email [email protected] --password mypass --host 127.0.0.1
Error: error reading config file: Error: ENOENT: no such file or directory, open '/home/scality/.vaultclient.conf'

Usage: create-account [options]

Options:

-h, --help             output usage information
--name <NAME>
--email <EMAIL>
--password <PASSWORD>

ls -althr /home/scality/
total 1.9M
-rw-r--r-- 1 scality scality 675 Apr 9 2014 .profile
-rw-r--r-- 1 scality scality 3.6K Apr 9 2014 .bashrc
-rw-r--r-- 1 scality scality 220 Apr 9 2014 .bash_logout
-rw------- 1 scality scality 74 Jun 9 19:32 .npmrc
drwxr-xr-x 2 root root 6 Jun 11 05:37 .npm
drwxr-xr-x 3 root root 20 Jun 11 05:37 ..
drwxr-xr-x 3 scality scality 18 Jun 11 05:37 .node-gyp
drwxr-xr-x 5 scality scality 121 Jun 14 18:55 .
-rw-r--r-- 1 scality scality 1.8M Jun 14 18:55 .babel.json
drwxr-xr-x 8 scality root 4.0K Jun 14 18:55 S3

@ghost
Copy link

ghost commented Jun 14, 2016

Where are you launching the vaultclient from ?
As it now requires the credentials file for the "superadmin" authentication, you'll need to provide the --config option with a path to the credentials file.

You can see a sample of this file in https://github.com/scality/vaultclient/blob/master/tests/utils/admincredentials.json

@jmunoznaranjo
Copy link
Contributor

There is an example at the bottom of vaultclient's README https://github.com/scality/vaultclient/tree/DOC/https-and-credentials
(note it's a branch different from master, still in pull request state, will be merged soon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants