bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
102 stars 41 forks source link

-useApiKey #59

Closed davidsig closed 2 years ago

davidsig commented 2 years ago

Hi can you add support for api key authentication for restoreOracle.ps1 and parallel-process-mssql-objects.ps1 ?

bseltz-cohesity commented 2 years ago

I just added API Key support to restoreOracle.ps1. I'm not familiar with the script parallel-process-mssql-objects.ps1. Did you rename the script, and if so, let me know the original script name?

davidsig commented 2 years ago

Thank you! the other script I was refering to is in another repo: bseltz-cohesity/cohesity-powershell-module/samples/RestoreSQLDB/parallel-process-mssql-objects.ps1

bseltz-cohesity commented 2 years ago

Ah right, I'm not the author of that script. Please try using this script for the multiple DB restore use case (which has API Key support): https://github.com/bseltz-cohesity/scripts/tree/master/sql/restoreSQLDBs

davidsig commented 2 years ago

Brilliant, thank you. I will take a look at this :)