Subscribe
Accepted Solution

how/where does Add-NcCredentials cache credentials

Hi all,

I wonder how and where Add-NcCredentials caches the credentials...

Looks like it is persistent on reboots but where exactly and how are the credentials cached?

Is there a scenario where you could loose the set credentials and re-enter them again?

thanks,

Alex

Re: how/where does Add-NcCredentials cache credentials

Hi Alex,

The credentials are stored in a file in the common application data folder.  The usernames and passwords are encrypted and only accessible by the user that added the credentials (or by any user on the system, if -SystemScope is used when the credentials are added).  The only situation where you would need to re-enter the credentials is if the file is deleted (or otherwise corrupted), or if the credentials change and need to be updated.

Thanks,

Steven

Re: how/where does Add-NcCredentials cache credentials

Hey Steven,

Thanks for the explanation!

Best regards,

Alex

Re: how/where does Add-NcCredentials cache credentials

Where excactly is that?  I've tried removing the powershell toolkit and running a search for netapp powershell on my machine.  I am trying to delete this credential store.

Re: how/where does Add-NcCredentials cache credentials

Hi @Nick_Elliott,

 

I believe the location is C:\ProgramData\OnCommand\Common.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: how/where does Add-NcCredentials cache credentials

Perfect!  That really helped.

Re: how/where does Add-NcCredentials cache credentials

What type of encryption is used?

 

Derek