-
Notifications
You must be signed in to change notification settings - Fork 20
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
New module release? #137
Comments
The upcoming version on the .Net SDK 1.1.x contains a lot of changes. Some of them are breaking. .Net SDK supports custom The following repo contains a sample code that works in the Azure environment. |
Specifically PowerCommander, yes. |
|
So that unfortunately was not the magic bullet. I'm now running into a "Non-interactive session detected" message. I've been at this through various tickets for nearly two months now and frankly I'm tired. Surely this cannot be allowed to be this difficult. First we ran into the issue that the PowerShell module could apparently not generate a config.json. So we used Commander.exe to generate one. Then we ran into compatibility issues with having the Az module and PowerCommander run side by side. Now I'm running into that stupid "Non-interactive session detected" which I suspect is really just hiding a different issue because surely you should be able to use a powershell module non-interactively! I recommended Keeper to my MSP because I was a happy personal user of the product. I saw it had a PowerShell module, so I stupidly assumed integrating it into our processes would be a breeze. I would not make that recommendation a second time at this point. Your support was only able to tell me something to the effect of "azure runbooks/function apps are not officially supported". So let me rephrase the question to you @sk-keeper in a more direct way. Can I currently, or will it be possible in any sort of near future (2 months?) to use PowerCommander to authenticate to and manage our Keeper vault without human interaction in either an Azure runbook or powershell based Azure function app? |
The Kepper login process is inherently interactive.
There is a Persistent Login flow. Generally it uses one time passwords. Persistent Login does not work in Azure runbook environment. It does not provide persistent storage as far as I know. In order to use PowerCommander in Azure runbook environment the master password needs to stored and privided to Connect-Keeper function. As far as I know Azure have environment variable concept. To use PowerCommander in Azure runbook:
You should be able to login non-interactively.
If everything is done correctly then you should be able to connect to Keeper unattended. If login still fails then most likely the step 3.a is to blame. Make sure the file is stored in UTF-8 no BOM. Regards, |
Ok I tried a few different options for encoding the file and looks like I got it to work! |
I have also been running into this issue and I m just trying to get this to work on a single server and nothing related to Azure, and have tried several things on this thread such as different encoding (UTF8, Ascii), different commands to attempt to resolve. It appears that its reading the config file just fine. I just get the Non-Interactive session detected. Keeper Commander has no issue at all. |
@flamingwasp
|
Hi,
I can see some work being done in the code to allow you to set a custom location for the config.json.
I'm currently trying to get the module working unnatended in an azure function app and I suspect that that is the last little detail I need to get that working.
Is there a release coming soon that includes these changes?
Thanks!
The text was updated successfully, but these errors were encountered: