Management::Trust::reset_all

Introduced : BIG-IP_v11.0.0
Reset the trust domain on the local device. This call causes the trust domain on the local device to be cleared. You may choose to keep the current device object name and authority cert/key pair. Alternately, you may specify a new device object name and may have the authority cert/key pair regenerated or set to the values specified in the authority_cert and authority_key parameters. Note: all known devices (accept for self) will be removed from the trust domain.

Prototype

 reset_all(
    in String device_object_name,
    in boolean keep_current_authority,
    in String authority_cert,
    in String authority_key
);

Parameters

Parameter Type Description
device_object_name String If non-empty, this value will be used as the device object name for this device (and the identity name for the device’s identity certificate).
keep_current_authority boolean If true, the current authority key/cert pair is retained, otherwise it is regenerated (or the user provided pair is used).
authority_cert String If keep_current_authority is false and this argument is non-empty, use this PEM encoded certificate as the authority certificate.
authority_key String If keep_current_authority is false and this argument is non-empty, use this PEM encoded private key as the authority private key.

Return Type

Type Description
void  

Exceptions

Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::InvalidArgument Raised if an argument is invalid.
Common::OperationFailed Raised if an operation error occurs.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.