KEYSTONE-MANAGE(1)

πŸ’… KEYSTONE-MANAGE β€” the glow-up edition πŸ’…

okay bestie, so this is keystone-manage from the keystone manual, section 1 of the manual pages. it's a whole vibe. let's get into it 🫢


✨ KEYSTONE MANAGEMENT UTILITY ✨

some lil receipts before we start, no cap:

  • Author: <openstack@lists.openstack.org>
  • Date: 2017-02-23
  • Copyright: OpenStack Foundation
  • Version: 11.0.0
  • Manual section: 1
  • Manual group: cloud computing

🌸 SYNOPSIS 🌸

keystone-manage [options]

πŸ’– DESCRIPTION πŸ’–

so keystone-manage is THE command line tool that talks to the Keystone service to initialize and update data inside Keystone. it's giving backstage-pass energy πŸ’…

fr fr, keystone-manage is generally only used for the operations that the HTTP API literally cannot do β€” think data import/export and database migrations. the API can't do it, so this tool steps in, main character style. πŸ‘‘


πŸ¦‹ USAGE πŸ¦‹

keystone-manage [options] action [additional args]

General keystone-manage options:

  • --help β€” display verbose help output.

not me telling you that if you just invoke keystone-manage all by itself, it'll hand you some usage information. iconic. πŸ™ˆ

Available commands: (the whole squad, alphabetized-ish, every single one πŸŽ€)

  • bootstrap: Perform the basic bootstrap process.
  • create_jws_keypair: Create an ECDSA key pair for JWS token signing.
  • credential_migrate: Encrypt credentials using a new primary key.
  • credential_rotate: Rotate Fernet keys for credential encryption.
  • credential_setup: Setup a Fernet key repository for credential encryption.
  • db_sync: Sync the database.
  • db_version: Print the current migration version of the database.
  • doctor: Diagnose common problems with keystone deployments.
  • domain_config_upload: Upload domain configuration file.
  • fernet_rotate: Rotate keys in the Fernet key repository.
  • fernet_setup: Setup a Fernet key repository for token encryption.
  • mapping_populate: Prepare domain-specific LDAP backend.
  • mapping_purge: Purge the identity mapping table.
  • mapping_engine: Test your federation mapping rules.
  • receipt_rotate: Rotate auth receipts encryption keys.
  • receipt_setup: Setup a key repository for auth receipts.
  • saml_idp_metadata: Generate identity provider metadata.
  • token_rotate: Rotate token keys in the key repository.
  • token_setup: Setup a token key repository for token encryption.
  • trust_flush: Purge expired trusts.

twenty commands? we ate. πŸ“


⭐ OPTIONS ⭐

so many flags, and every single one is here, bestie. let's go one by one, no skips:

  • -h, --help β€” show this help message and exit.
  • --config-dir DIR β€” Path to a config directory to pull *.conf files from. This file set is sorted, so as to provide a predictable parse order if individual options are over-ridden. The set is parsed after the file(s) specified via previous --config-file, arguments hence over-ridden options in the directory take precedence.
  • --config-file PATH β€” Path to a config file to use. Multiple config files can be specified, with values in later files taking precedence. Defaults to None.
  • --debug, -d β€” If set to true, the logging level will be set to DEBUG instead of the default INFO level.
  • --log-config-append PATH, --log_config PATH β€” The name of a logging configuration file. This file is appended to any existing logging configuration files. For details about logging configuration files, see the Python logging module documentation. Note that when logging configuration files are used then all logging configuration is set in the configuration file and other logging configuration options are ignored (for example, logging_context_format_string).
  • --log-date-format DATE_FORMAT β€” Defines the format string for %(asctime)s in log records. Default: None . This option is ignored if log_config_append is set.
  • --log-dir LOG_DIR, --logdir LOG_DIR β€” (Optional) The base directory used for relative log_file paths. This option is ignored if log_config_append is set.
  • --log-file PATH, --logfile PATH β€” (Optional) Name of log file to send logging output to. If no default is set, logging will go to stderr as defined by use_stderr. This option is ignored if log_config_append is set.
  • --nodebug β€” The inverse of --debug.
  • --nostandard-threads β€” The inverse of --standard-threads.
  • --nouse-syslog β€” The inverse of --use-syslog.
  • --noverbose β€” The inverse of --verbose.
  • --nowatch-log-file β€” The inverse of --watch-log-file.
  • --pydev-debug-host PYDEV_DEBUG_HOST β€” Host to connect to for remote debugger.
  • --pydev-debug-port PYDEV_DEBUG_PORT β€” Port to connect to for remote debugger.
  • --standard-threads β€” Do not monkey-patch threading system modules.
  • --syslog-log-facility SYSLOG_LOG_FACILITY β€” Syslog facility to receive log lines. This option is ignored if log_config_append is set.
  • --use-syslog β€” Use syslog for logging. Existing syslog format is DEPRECATED and will be changed later to honor RFC5424. This option is ignored if log_config_append is set.
bestie listen 😭 that syslog format is DEPRECATED, so pls don't build your whole life around it β€” it's getting changed later to honor RFC5424. and yeah, ignored if log_config_append is set.
  • --verbose, -v β€” If set to false, the logging level will be set to WARNING instead of the default INFO level.
  • --version β€” show program's version number and exit.
  • --watch-log-file β€” Uses logging handler designed to watch file system. When log file is moved or removed this handler will open a new log file with specified path instantaneously. It makes sense only if log_file option is specified and Linux platform is used. This option is ignored if log_config_append is set.

🧚 FILES 🧚

None

that's it. nothing. empty. the void. πŸ’€ (affectionately)


🌈 SEE ALSO 🌈


πŸ”₯ SOURCE πŸ”₯


πŸ‘‘ Author πŸ‘‘

OpenStack

2012-Present, OpenInfra Foundation


and that's the whole thing, bestie β€” you're officially a keystone-manage girlie now πŸ’œ version 30.0.0, dated Oct 01, 2026. slay, go migrate something. ✨

πŸ“¦ where this page comes from