Encrypts rich text for secure sharing on Confluence pages.




Migratable to Cloud?

Default Value



  • (/)

  • NO

The text that is displayed to the user when he is viewing the page.

Limited to 255 characters.


  • (/)

  • NO

The password or other text that you would like to encrypt. Accepts rich text.

You may experience formatting errors in Internet Explorer and Edge due to a lack of support for the "tab-size" CSS property in those web browsers.

Who can access

  • (/)

  • NO

Specific user(s) or group(s)

Specify who can access the secret. Options are:

  • Specific user(s) or group(s)

  • Exclude user(s) or group(s)

  • Just the owner (not recommended)


  • (X)

  • NO

Specify one or more users permitted to view this secret. For Confluence 5.3, separate each user using a comma.

If this field and the Group(s) field is left blank, then only the creator of the macro will be able to view the encrypted text.


  • (X)

  • NO

Specify one or more groups permitted to view this secret. Separate each group using a comma. For all groups, specify an asterisk (*).

If this field and the User(s) field is left blank, then only the creator of the macro will be able to view the encrypted text.

Timeout (Deprecated)

  • (/)

  • NO


The time in seconds the content will be displayed after successful authentication.

Setting this to "0" will allow the content to be displayed indefinitely.

This parameter has been removed in version 2.11.0.

Editor View

Macro Edit View


  • From version 2.2.7 onwards, the Secure macro supports user and user group permissions. For those upgrading from 2.2.6, existing macros will still have the secret viewable by all users. But once the macro is updated, the user/user group permissions will be applied immediately.

  • Macro owners will always have permission to view and edit.

  • If no permission is defined (no user and user group defined in the macro browser), then ONLY the macro owner (the user who created/inserted the macro into the page) can view the encrypted secret.

  • User group permissions support "*" (all user groups).

Tutorial Examples