Moving a TSIG Key Between Compartments

You can move a TSIG key from one compartment to another.

See Managing Compartments for information about compartments and access control.

See TSIG Keys for more information about TSIG keys and how they're used in zones.

For general service information, see the DNS service overview.

    1. Open the navigation menu and click Networking. Under DNS management, click TSIG keys.
    2. Under List scope, select the compartment that contains the key.
    3. Click the name of the TSIG key to open its details page.
    4. Click Move Resource.
    5. Choose the destination compartment from the list.
    6. Click Move Resource.
  • Use the tsig change-compartment command and required parameters to move a TSIG key to a different compartment:

    oci dns tsig-key get --tsig-key-id tsig_key_OCID --compartment-id compartment_OCID ... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the ChangeTsigKeyCompartment operation to move a TSIG key to different compartment.