1 vote
When creating an Application Identity, the Application Secret is automatically generated. This secret contains a lot of special characters which make it hard for PowerShell use the string. These consist of at least the following characters:
How can I prevent these special characters from being used to generate an Application Secret?
Hello reinleen,
Thank you for reaching out to the Devolutions support team.
Unfortunately, this is not possible at the moement to exclude a character in the secret or the key.
I will transfer this ticket to the appropriate thread as a feature request.
Could you tell me which data source type you are using?
Also, in PowerShell, the single quote will also refer to a string, and double quotes support variables in that string.
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-7.5
Best regards,
Patrick Ouimet
Hello reinleen,
Thank you for reaching out to the Devolutions support team.
Unfortunately, this is not possible at the moement to exclude a character in the secret or the key.
I will transfer this ticket to the appropriate thread as a feature request.
Could you tell me which data source type you are using?
Also, in PowerShell, the single quote will also refer to a string, and double quotes support variables in that string.
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-7.5
Best regards,
@Patrick Ouimet
I will be consuming the keys as a string (which I will store as a hash using the functions I created for this: PowerShell/Security at main · TheBrickAdmin/PowerShell · GitHub).
Hello,
Thank you for your request. I understand your need. I will create a ticket in our backlog to remove those characters from the secret, that would make sense.
Best regards,
François Dubois
Hi @reinleen
We’ve removed those characters when generating the application secret in our latest 2025.3.7.0 release.
Best regards,
Marc-Andre Bouchard