How to create a new account in Cloud Server?
I am new using your server and wish to implement a client of your own, however, to perform tests necessary to create another user account.
How can I create this account on the server?
I require that this account be able to manage buckets, just as the account that comes by default does.
Thank you very much for your attention. I am at the expense of your response. Alexis
Hi @raxper ,
What you want to do is effectively edit the authdata.json file, to add a new Account. Assuming you want to keep the first two existing accounts, it should be of that form:
{
"accounts": [{
"name": "Bart",
"email": "[email protected]",
"arn": "arn:aws:iam::123456789012:root",
"canonicalID": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"shortid": "123456789012",
"keys": [{
"access": "accessKey1",
"secret": "verySecretKey1"
}]
}, {
"name": "Lisa",
"email": "[email protected]",
"arn": "arn:aws:iam::123456789013:root",
"canonicalID": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2bf",
"shortid": "123456789013",
"keys": [{
"access": "accessKey2",
"secret": "verySecretKey2"
}]
}, {
"name": "newUser",
"email": "[email protected]",
"arn": "arn:aws:iam::123456789014:root",
"canonicalID": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2bg",
"shortid": "123456789014",
"keys": [{
"access": "newAccessKeyOfYourChoice",
"secret": "newSecretKeyOfYourChoice"
}]
}]
}
Assuming you run your service as a daemon, you'll need to restart the container to reload the config file (see this thread for more info) .
Please let me know if that answered your question.