Secure

Description

Encrypts plain text (up to 255 characters) for secure sharing on Confluence pages.


Parameters

NameRequiredAvailable InDefault ValueDescription

Title

 (tick)


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

Limited to 255 characters.

Secret

 (tick)


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

Limited to 255 characters.

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.

User(s)

 (error)


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.

Group(s)

 (error)


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

 (tick)

10

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


Notes

  • 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).
  • In the Edit 'Secure' Macro pop-up window, the View Audit Log link will allow the user to view a log of when the macro was created and decrypted, as in the following image:

Tutorial Examples