Skip to content

Disable/Enable Access Credentials v2.0.1 Help

Disables and enables access credentials using a username-password pair or token.

How can I use the Step?

The Step lets you disable or enable access credentials for Basic or Bearer HTTP authentication schemes. This way, you can control user access to protected resources based on credential status.

How does the Step work?

The Step disables/enables credentials in your key-value storage using a hashed token or a username-password pair. If the Step can't find or verify the credentials, it throws an error and directs the Flow down the error exit.

Credentials type and collection

To set up the section, do the following:

  1. Select the credentials type.
  2. Select the collection within your key-value storage where credentials are stored.
  3. Optional: Switch the Made disabled toggle on/off to make credentials disabled/enabled.

Credentials to disable/enable

To set up this section, do the following:

  1. Enter a username/password pair or token you want to change.
  2. Optional: Turn the Check password match toggle off to disable/enable the username and password regardless of the password match.

Merge field settings

The Step returns the result as a JSON object and stores it under the Merge field name. To learn more about Merge fields and how to work with them, see our Merge fields guide.

Output example

The output JSON object contains the credential status and message. For example, if you disable access credentials, a successful response might look like this:

json
{
    "disabled": true,
    "message": "Credentials disabled."
}
{
    "disabled": true,
    "message": "Credentials disabled."
}

Error Handling

By default, the Step handles errors using a separate exit. So if any error occurs during the Step execution, the Flow proceeds down the error exit. For more information, see Error and timeout handling.

Reporting

The Step automatically generates Reporting events during its execution, allowing for real-time tracking and analysis of its performance and user interactions. To learn more, see Reporting events

Service dependencies

  • flow builder v2.34.0
  • studio v3.71.0
  • bot deployer v2.22.4
  • library v2.18.4

Release notes

v2.0.0

  • Initial release