When it comes to setting up automated tests, security is essential. With mabl, you can create a special credential variable type to use for authentication scenarios in your tests. mabl credentials are encrypted with a customer-specific encryption key before getting added to our database. To apply an additional layer of security, you can add credentials to resource groups to control who can access them in the workspace.
For more information on creating and using credentials in your test, check out the article on managing credentials.
This article introduces the different types of credentials available for mabl tests:
Basic
Basic credentials consist of a username and password. You can use basic credentials for training tests and running tests locally and in the cloud.
Basic with MFA
Basic with MFA credentials consist of a username, password, and MFA authenticator secret code. This credential type generates a new MFA (TOTP) authenticator code every 30 seconds to use for applications that require MFA logins. You may update and clear the secret code, but you cannot retrieve an existing secret code. Use basic with MFA credentials for training tests and running tests locally and in the cloud.
Cloud
Cloud credentials consist of a username and password. You may only use cloud credentials for cloud runs. Cloud credentials are not available for training and local runs. You may update the username and password, but you can never retrieve the password once the credentials are saved.
Cloud with MFA
Cloud credentials with MFA consist of a username, password, and MFA authenticator secret code. You may only use cloud credentials with MFA for cloud runs. This credential type is not available for training and local runs. You may update the username, password, and secret code, but you cannot retrieve an existing password or secret code once they are saved.
We recommend using cloud credentials and cloud credentials with MFA for sensitive data.