» Data Source: oci_dns_tsig_keys

This data source provides the list of Tsig Keys in Oracle Cloud Infrastructure Dns service.

Gets a list of all TSIG keys in the specified compartment.

» Example Usage

data "oci_dns_tsig_keys" "test_tsig_keys" {
    #Required
    compartment_id = "${var.compartment_id}"

    #Optional
    id = "${var.tsig_key_id}"
    name = "${var.tsig_key_name}"
    state = "${var.tsig_key_state}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The OCID of the compartment the resource belongs to.
  • id - (Optional) The OCID of a resource.
  • name - (Optional) The name of a resource.
  • state - (Optional) The state of a resource.

» Attributes Reference

The following attributes are exported:

» TsigKey Reference

The following attributes are exported:

  • algorithm - TSIG key 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.
  • compartment_id - The OCID of the compartment containing the TSIG key.
  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

    Example: {"Operations": {"CostCenter": "42"}}

  • freeform_tags - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

    Example: {"Department": "Finance"}

  • id - The OCID of the resource.

  • name - A globally unique domain name identifying the key for a given pair of hosts.

  • secret - A base64 string encoding the binary shared secret.

  • self - The canonical absolute URL of the resource.

  • state - The current state of the resource.

  • time_created - The date and time the resource was created, expressed in RFC 3339 timestamp format.

    Example: 2016-07-22T17:23:59:60Z

  • time_updated - The date and time the resource was last updated, expressed in RFC 3339 timestamp format.

    Example: 2016-07-22T17:23:59:60Z