# designateclient.v2.cli.tsigkeys module

class designateclient.v2.cli.tsigkeys.CreateTSIGKeyCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Create new tsigkey

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log = <Logger designateclient.v2.cli.tsigkeys.CreateTSIGKeyCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.tsigkeys.DeleteTSIGKeyCommand(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Delete tsigkey

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log = <Logger designateclient.v2.cli.tsigkeys.DeleteTSIGKeyCommand (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class designateclient.v2.cli.tsigkeys.ListTSIGKeysCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  List tsigkeys

  columns = ['id', 'name', 'algorithm', 'secret', 'scope', 'resource_id']
  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log = <Logger designateclient.v2.cli.tsigkeys.ListTSIGKeysCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.tsigkeys.SetTSIGKeyCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Set tsigkey properties

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log = <Logger designateclient.v2.cli.tsigkeys.SetTSIGKeyCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.tsigkeys.ShowTSIGKeyCommand(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Show tsigkey details

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log = <Logger designateclient.v2.cli.tsigkeys.ShowTSIGKeyCommand (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

this page last updated: 2026-07-15 16:40:58

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug