two_factor_authentication
Creates, updates, deletes, gets or lists a two_factor_authentication
resource.
Overview
Name | two_factor_authentication |
Type | Resource |
Id | linode.profile.two_factor_authentication |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
post_tfa_disable | exec | Disables Two Factor Authentication for your User. Once successful, login attempts from untrusted computers will only require a password before being successful. This is less secure, and is discouraged. Learn more... Learn more... | ||
post_tfa_enable | exec | Generates a Two Factor secret for your User. To enable TFA for your User, enter the secret obtained from this operation with the Enable two factor authentication operation. Once enabled, logins from untrusted computers are required to provide a TFA code before they are successful. Run the Answer security questions operation. Learn more... Learn more... | ||
post_tfa_confirm | exec | Confirms that you can successfully generate Two Factor codes and enables TFA on your Account. Once this is complete, login attempts from untrusted computers will be required to provide a Two Factor code before they are successful. Learn more... Learn more... |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|
Lifecycle Methods
- post_tfa_disable
- post_tfa_enable
- post_tfa_confirm
Disables Two Factor Authentication for your User. Once successful, login attempts from untrusted computers will only require a password before being successful. This is less secure, and is discouraged.
Learn more...
Learn more...
EXEC linode.profile.two_factor_authentication.post_tfa_disable
;
Generates a Two Factor secret for your User. To enable TFA for your User, enter the secret obtained from this operation with the Enable two factor authentication operation. Once enabled, logins from untrusted computers are required to provide a TFA code before they are successful.
Run the Answer security questions operation.
Learn more...
Learn more...
EXEC linode.profile.two_factor_authentication.post_tfa_enable
;
Confirms that you can successfully generate Two Factor codes and enables TFA on your Account. Once this is complete, login attempts from untrusted computers will be required to provide a Two Factor code before they are successful.
Learn more...
Learn more...
EXEC linode.profile.two_factor_authentication.post_tfa_confirm
@@json=
'{
"tfa_code": "{{ tfa_code }}"
}';