---
schema_version: "1"
id: 0052435a058092073e9779c4eb74ab254e968e071a9fcc59f79a2b6cf1087136
title: Migrating the Secure Properties Placeholder
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/mule-runtime/4.4/migration-secure-properties-placeholder.md
canonical_url: https://docs.mulesoft.com/mule-runtime/4.4/migration-secure-properties-placeholder
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7b3b0e1bf69b5afa25b00ba1a9603ac8da67f9bc7a8e0f74ccb4507f1c4021e9
description: MuleSoft Documentation Site
release: "4.4"
latest: false
---
---
product: Mule Runtime
version: 4.4
---

# Migrating the Secure Properties Placeholder

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

In Mule 3, the Secure Properties Placeholder was part of the Security Module. In Mule 4, it is
separated in its own Secure Configuration Properties module.

Example: Complete Secure Properties Placeholder in Mule 3

```xml
<secure-property-placeholder:config
  name="Secure_Property_Placeholder" key="${prod.key}"
  location="test.${env}.properties" encryptionAlgorithm="Blowfish"
  encryptionMode="CBC"/>
```

Differences between Mule 3 and Mule 4:

- The Mule 3 `location` attribute is replaced by `file` in Mule 4 for consistency with other
  components.

- In Mule 3, `location` can define more than one file, separated by a comma (`,`). In Mule 4, this
  is not possible for troubleshooting purposes. Instead, you need to to define a
  `<secure-properties:config>` tag for each file.

- For overlapping properties between files, Mule 3 preserves the last definition. The Mule 4 module
  preserves the first definition.

- The encryption attributes (`mode` and `algorithm`) are defined in the child tag
  `<secure-properties:encrypt/>`, and the supported algorithms and modes are the same for both Mule
  3 and 4 (see [Mule 4 Secure Configuration Properties](https://docs.mulesoft.com/mule-runtime/4.4/secure-configuration-properties)).

A full migration of the Mule 3 example looks like this:

Example: Complete Migration Example

```xml
<secure-properties:config
  key="${prod.key}"
  file="test.${env}.properties"
  name="Secure_Property_Placeholder">
    <secure-properties:encrypt algorithm="Blowfish" mode="CBC"/>
</secure-properties:config>
```

## See Also

[Mule 4 Secure Configuration Properties](https://docs.mulesoft.com/mule-runtime/4.4/secure-configuration-properties)
