SecureConfigurationManagerTConfigLoadRedactedText Method (Vault, SecurityAttributeUserLevel) |
Loads the configuration text so that is safe to show in MFAdmin.
All password fields will be redacted.
As a safety precaution, this method Throws an exception if the configuration
is not valid json, and user is not a sysadmin. This is the only way to ensure
non-sysadmins do not see sensitive information.
Namespace:
MFiles.VAF.Configuration
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntaxpublic virtual string LoadRedactedText(
Vault vault,
SecurityAttributeUserLevel userLevel
)
Public Overridable Function LoadRedactedText (
vault As Vault,
userLevel As SecurityAttributeUserLevel
) As String
public:
virtual String^ LoadRedactedText(
Vault^ vault,
SecurityAttributeUserLevel userLevel
)
Parameters
- vault
- Type: Vault
The vault to load the configuration from. - userLevel
- Type: MFiles.VAF.ConfigurationSecurityAttributeUserLevel
The access level of the user requesting the configuration.
Return Value
Type:
StringThe redacted configuration text.
See Also