models.nas_mount_credentials module

class models.nas_mount_credentials.NasMountCredentials(cohesity_managed_password=None, domain_controller=None, domain_name=None, encrypted_password=None, password=None, protocol=None, username=None)[source]

Bases: object

Implementation of the ‘NasMountCredentials’ model.

Message that encapsulates the credentials for mounting a specific NAS type.

Attributes:
cohesity_managed_password (bool): Whether the password managed by

cohesity during registration.

domain_controller (string): Active Domain controller IP or hostname; domain_name (string): The name of the domain which the NAS mount

credentials belong to.

encrypted_password (list of int): AES256 encrypted password. The key

for encryption should be obtained from KMS.

password (string): The password field is only populated in RPCs. On

disk, instances of this proto should not have this field set, except for legacy records. TODO(oleg): Change this field type to bytes.j

protocol (int): The protocol of the NAS mount. username (string): The username and password to use for mounting the

NAS.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.