security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java
public String addSecuredAttribute(String vaultBlock, String attributeName, char[] attributeValue) throws Exception {
        vault.store(vaultBlock, attributeName, attributeValue, null);
        return securedAttributeConfigurationString(vaultBlock, attributeName);
    }
public String addSecuredAttribute(String vaultBlock, String attributeName, char[] attributeValue) throws Exception {
        vault.store(vaultBlock, attributeName, attributeValue, null);
        return securedAttributeConfigurationString(vaultBlock, attributeName);
    }
Add secured attribute to specified vault block. This method can be called only after successful
startVaultSession() call.

@param vaultBlock
@param attributeName
@param attributeValue
@return secured attribute configuration