TSIG

class oci.dns.models.TSIG(**kwargs)

Bases: object

A TSIG key.

__init__(**kwargs)

Initializes a new TSIG object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) -- The value to assign to the name property of this TSIG.
  • secret (str) -- The value to assign to the secret property of this TSIG.
  • algorithm (str) -- The value to assign to the algorithm property of this TSIG.
algorithm

[Required] Gets the algorithm of this TSIG. TSIG Algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see RFC 4635.

Returns:The algorithm of this TSIG.
Return type:str
name

[Required] Gets the name of this TSIG. A domain name identifying the key for a given pair of hosts.

Returns:The name of this TSIG.
Return type:str
secret

[Required] Gets the secret of this TSIG. A base64 string encoding the binary shared secret.

Returns:The secret of this TSIG.
Return type:str