Module org.mule.sdk.api
Annotation Interface Secret
@Target({FIELD,PARAMETER,TYPE})
@Retention(RUNTIME)
@Documented
@MinMuleVersion("4.4")
@DoNotEnforceMinMuleVersion
public @interface Secret
Indicates that the annotated parameter holds a value which should be encrypted.
Typical examples include sshKeys, digital signatures, credit card numbers, personal or financial information, or any type of sensitive scalar values.
For passwords, use Password instead.
For secret tokens, use SecretToken.
NOTE: This annotation merely signals that the value should be encrypted. Actual encrypted not enforced by this annotation
- Since:
- 1.0
- See Also: