Recrypt User Credentials node
The Recrypt User Credentials node re-encrypts user credentials using a new encryption key.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
User binding configurations
This section allows you to configure how the user is bound to the session.
- Username: You can bind the user either by username or by a specific attribute. In both cases, the corresponding value must be specified (can use a variable from the form node, e.g
{{form.username}}). An additional Ignore case option is available to perform the binding without considering letter case differences.
Node configurations
-
Old Key: Specifies the key used to decrypt the existing user credentials. This must match the key originally used to encrypt the stored data.
-
New Key: Specifies the new key that will be used to re-encrypt the user credentials. After the operation, this key will be required to decrypt the credentials.
Save in the flow store
Attributes generated or retrieved from the node can be saved into a variable. They can then be reused by other nodes in the flow by referencing them as {{variable.attribute}}.
To do this you choose attributes (displayed in a multi-select dropdown) that need to be stored and then a variable name that can be defined by the user.
There is also a flag to make the variable available to the frontend.
Default output node
- Success
- User Pending
- User not Found
- Failure
JSON metadata
{
"name": "recrypt_credentials",
"active": true,
"bundleName": "am-users-nodes",
"bundleVersion": "1.0",
"nodeName": "RecryptCredentials",
"category": "encryption_signing",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Recrypt User Credentials"
}, {
"lang": "it",
"value": "Recrypt User Credentials"
}
],
"index": 11,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "UserPending",
"level": "warning"
}, {
"name": "UserNotFound",
"level": "warning"
}, {
"name": "Failure",
"level": "error"
}
]
}