Hi,
How can you set the api key for the API Key credential type. I've tried to set the password property with a securestring but that does not seem to work. Setting the SafeApiKey parameter also does not seem to work. Is there an other method of writing to this property that I'm missing?
Kind regards,
Victor
Hello Victor,
Thank you for contacting us on that matter.
We can use the Get-RDMSessionPassword cmdlet to get the API Key. But the Set-RDMSessionPassword cmdlet isn't working and we cannot directly update the SafeApiKey parameter.
I will get back to you once I will get the information from the engineering team.
Thank you for your patience.
Best regards,
Érica Poirier
Hello Victor,
A ticket has been submitted to our engineering team to be able to set the API Key using the Set-RDMSessionPassword cmdlet. Once an update will be available, we will post it here.
Thank you for your patience.
Best regards,
Érica Poirier
Hi,
Version 2023.1.0.6 is online and will let you set the api key.
Due to the way RDM's backend is working, using Set-RDMSessionPassword was not an option.
You'll have to do $c.Credentials.APIKey = $secure_string_password
Let me know if this works
Reguards
Jonathan Lafontaine