4.2.7.2 Encryption Properties

Under workflow.server.encryption, specify the encryption key that MicroTx Workflows uses to encrypt the access and refresh tokens. You must provide values for these properties if you have enabled authTokenPropagationEnabled under tmmConfiguration.authorization.

Property Description
enabled Set this to true to enable encryption. The default value is true. You must set this value to true in production environments, where you also enable security.
secretName Specify the name of the Kubernetes secrets that contain encryption key as the value. To support the encryption keys rotation, you can specify multiple encryption keys and their versions.
fileName File name as stored in the secret and mounted.

The following code snippet provides sample values for the encryption field in the values.yaml file. The sample values in this example are based on the values used in the sample commands in Generate a Kubernetes Secret for an Encryption Key.

encryption:
      enabled: "true"
      secretName: encryption-secret
      fileName: encryption.key