Hi all,
I have been asked to look into integrating DPS into an internal website for our company. We are hosting our own instance of DPS. I have been experimenting with the Python SDK, and I have a question-
Can the SDK be used if local auth is disabled on our server?
If so, can you provide me with an example of code to run the login routine? we use Office 365 as our login provider.
Any help is appreciated!
Sincerely,
Brian
Hello,
What DVLS version are you using?
For your information, we do not support anymore the Pyhton SDK and we have instead created a DVLS PowerShell module you can find it on GitHub.
https://www.powershellgallery.com/packages/Devolutions.Server
About the Custom authentication, you can disable it and use an Application Key to interact with DVLS using the PowerShell module.
Let me know if that could be a good solution.
Best regards,
Érica Poirier
Hi,
We are using: 2021.2.10.0
I will have a look at the Powershell module. thanks!
Hi- I'm working with the PS script now. however I am running into some credential errors.
I think I'm probably using the kit wrong- could you post an example of how to call the New-DSSession while using the application key and application secret?
Thanks so much for your help!
Sorry I didn't catch your question properly until a second read over-
I'm pretty sure we aren't going to disable the custom auth
Hello,
Thank you for your feedback.
I understand that you don't want to disable the Custom authentication.
The following script samples provide an idea on how to connect on DVLS using its PowerShell module.
https://github.com/Devolutions/devolutions-server/blob/main/Powershell%20Module/Samples/SetEnvironmentVariables.ps1
https://github.com/Devolutions/devolutions-server/blob/main/Powershell%20Module/Tests/Server.Acceptance.Tests.ps1
Regarding on how to connect on DVLS using an application key, the username will be the Application key and the password is its secret.
Let me know if that helps.
Best regards,
Érica Poirier
thanks!