# openstackclient.identity.v2_0 package

## Submodules

## openstackclient.identity.v2_0.catalog module

Identity v2 Service Catalog action implementations

class openstackclient.identity.v2_0.catalog.EndpointsColumn(value: _T)

  Bases: `FormattableColumn`[`Any`]

  human_readable()

    Return a basic human readable version of the data.

class openstackclient.identity.v2_0.catalog.ListCatalog(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  log: logging.Logger = <Logger openstackclient.identity.v2_0.catalog.ListCatalog (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.catalog.ShowCatalog(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.catalog.ShowCatalog (WARNING)>
  take_action(parsed_args)

    Run command.

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

## openstackclient.identity.v2_0.ec2creds module

Identity v2 EC2 Credentials action implementations

class openstackclient.identity.v2_0.ec2creds.CreateEC2Creds(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.ec2creds.CreateEC2Creds (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.ec2creds.DeleteEC2Creds(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.ec2creds.DeleteEC2Creds (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.ec2creds.ListEC2Creds(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.ec2creds.ListEC2Creds (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.ec2creds.ShowEC2Creds(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.ec2creds.ShowEC2Creds (WARNING)>
  take_action(parsed_args)

    Run command.

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

## openstackclient.identity.v2_0.endpoint module

Endpoint action implementations

class openstackclient.identity.v2_0.endpoint.CreateEndpoint(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.endpoint.CreateEndpoint (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.endpoint.DeleteEndpoint(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.endpoint.DeleteEndpoint (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.endpoint.ListEndpoint(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.endpoint.ListEndpoint (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.endpoint.ShowEndpoint(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.endpoint.ShowEndpoint (WARNING)>
  take_action(parsed_args)

    Run command.

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

## openstackclient.identity.v2_0.project module

Identity v2 Project action implementations

class openstackclient.identity.v2_0.project.CreateProject(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.project.CreateProject (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.project.DeleteProject(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.project.DeleteProject (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.project.ListProject(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.project.ListProject (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.project.SetProject(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.project.SetProject (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.project.ShowProject(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.project.ShowProject (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.project.UnsetProject(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.project.UnsetProject (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

## openstackclient.identity.v2_0.role module

Identity v2 Role action implementations

class openstackclient.identity.v2_0.role.AddRole(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.role.AddRole (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.role.CreateRole(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.role.CreateRole (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.role.DeleteRole(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.role.DeleteRole (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.role.ListRole(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  log: logging.Logger = <Logger openstackclient.identity.v2_0.role.ListRole (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.role.RemoveRole(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.role.RemoveRole (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.role.ShowRole(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.role.ShowRole (WARNING)>
  take_action(parsed_args)

    Run command.

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

## openstackclient.identity.v2_0.role_assignment module

Identity v2 Assignment action implementations

class openstackclient.identity.v2_0.role_assignment.ListRoleAssignment(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.role_assignment.ListRoleAssignment (WARNING)>
  take_action(parsed_args)

    Run command.

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

## openstackclient.identity.v2_0.service module

Service action implementations

class openstackclient.identity.v2_0.service.CreateService(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.service.CreateService (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.service.DeleteService(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.service.DeleteService (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.service.ListService(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.service.ListService (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.service.ShowService(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.service.ShowService (WARNING)>
  take_action(parsed_args)

    Run command.

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

## openstackclient.identity.v2_0.token module

Identity v2 Token action implementations

class openstackclient.identity.v2_0.token.IssueToken(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.token.IssueToken (WARNING)>
  required_scope = False
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.token.RevokeToken(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.token.RevokeToken (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

## openstackclient.identity.v2_0.user module

Identity v2.0 User action implementations

class openstackclient.identity.v2_0.user.CreateUser(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.user.CreateUser (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.user.DeleteUser(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.user.DeleteUser (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.user.ListUser(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.user.ListUser (WARNING)>
  take_action(parsed_args)

    Run command.

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

class openstackclient.identity.v2_0.user.ProjectColumn(value, project_cache=None)

  Bases: `FormattableColumn`[`str`]

  Formattable column for project column.

  Unlike the parent FormattableColumn class, the initializer of the class takes project_cache as the second argument. osc_lib.utils.get_item_properties instantiate cliff FormattableColumn object with a single parameter “column value”, so you need to pass a partially initialized class like `functools.partial(ProjectColumn, project_cache)`.

  human_readable()

    Return a basic human readable version of the data.

class openstackclient.identity.v2_0.user.SetUser(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.user.SetUser (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.identity.v2_0.user.ShowUser(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger openstackclient.identity.v2_0.user.ShowUser (WARNING)>
  take_action(parsed_args)

    Run command.

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

## Module contents

this page last updated: 2026-04-01 09:44:20

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