SecureConfigurationManagerTConfigLoadRedactedText(Vault, SecurityAttributeUserLevel) Method

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.

Definition

Namespace: MFiles.VAF.Configuration
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public virtual string LoadRedactedText(
	Vault vault,
	SecurityAttributeUserLevel userLevel
)

Parameters

vault  Vault
The vault to load the configuration from.
userLevel  SecurityAttributeUserLevel
The access level of the user requesting the configuration.

Return Value

String
The redacted configuration text.

See Also