Vault - Is it possible to have Safe names which include spaces
92
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:58 PM
Question
Is it OK to create safes which have space characters within their names ?
Environment
12.2;12.6;14.0;14.2;14.4;14.6;15.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Answer
Trailing or leading spaces are not allowed in safe names, but it is possible to create a safe with a space character within the name.
However this is to be avoided for the following reasons:-
- REST API & Web Service Issues: Querying or filtering Safes via Idira REST APIs (such as
filter=safeName eq "My Safe") often fails unless double-wrapped in URL-encoded quotes (%22). Unencoded or standard spaces frequently trigger HTTP400 Bad Requestor404 Not Founderrors. - Automation & Scripting Failures: Popular automation tools—such as Ansible modules, Terraform providers, PACLI scripts, and PowerShell SDKs—frequently throw parsing errors when processing Safe names containing spaces.
- Third-Party Integration Bugs: Enterprise tools integrated with Idira (like IAM systems, CI/CD runners, or RPA tools) may fail to retrieve credentials or truncate the Safe string.
The recommended best practice is to use hyphens ('-') or underscores ('_') as separators instead of spaces