Vmware DCLI + credstore error

Hi experts


I am unable to add a users to the credstore first time using DCLI commands  

I have logged into root VCSA then i go to DCLI +interactive

I then input

DCLI com Vmware cis tagging tag list +credstore-add +username user1

I then Enter the password  

Error message

Unknown command : DCLI com Vmware cis tagging tag list

I am new to this thanks in advance for your Help
Blue BerryAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
to use dcli you would require to install vcli

check this link

https://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.vcli.getstart.doc/cli_install.4.8.html
0
Blue BerryAuthor Commented:
That has been install on my computer

I am using Vmware workstation.
0
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
what version of vsphere environment u have ?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Blue BerryAuthor Commented:
VCSA 6.5
 Host 6.5
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
it looks like ur command is wrong , example why we have list at end when u are creating cresendialstore ?
0
Blue BerryAuthor Commented:
Examples
The following examples illustrate how you can interact with the credential store.
1
Add a new credential store entry.
dcli com vmware cis tagging tag list +credstore-add +username user1
2
Remove a credential store entry.
dcli +credstore-remove +server <server> +username user1
3
List all credential store entries.
dcli +credstore-list
0
Blue BerryAuthor Commented:
I have not done the command in Vcli only in DCLI
0
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
once you get in to interactive mode , do you see the prompt getting changed to dcli ?
0
Blue BerryAuthor Commented:
Yes it dose on the VCSA directly i have not done it on the vcli

As it dose not work on that
0
Blue BerryAuthor Commented:
Do I use vcli or DCLI
0
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
Please find the attached example.

creditstore
0
Blue BerryAuthor Commented:
attached the result
0
Blue BerryAuthor Commented:
the last one i entered the command incorrectly
0
Blue BerryAuthor Commented:
AND THIS
dvli-3.PNG
0
Blue BerryAuthor Commented:
did not attach here it is
0
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
To have the it worked , please login with administrator@vsphere.local

The error posted you do not have access to run the command.
0
Blue BerryAuthor Commented:
The problem I have is the administrator has been removed form  administrator group vcenter client and I am unable to add it back into the group


This is the only administrator account I have
0
Blue BerryAuthor Commented:
What others permission do I need to get access to it
0
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
In that case you would required to deploy new vCenter server. If you have created snapshot any change you may revert back to time before you have removed the administrator.
0
Blue BerryAuthor Commented:
That is all
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.