Bases: keystone.cmd.cli.BasePermissionsSetup
Provides common options for certificate setup.
Bases: keystone.cmd.cli.BaseApp
Common user/group setup for file permissions.
Bases: keystone.cmd.cli.BaseApp
Perform the basic bootstrap process.
Perform the bootstrap actions.
Create bootstrap user, project, and role so that CMS, humans, or scripts can continue to perform initial setup (domains, projects, services, endpoints, etc) of Keystone when standing up a new deployment.
Bases: keystone.cmd.cli.BasePermissionsSetup
Setup a Fernet key repository for credential encryption.
The purpose of this command is very similar to keystone-manage fernet_setup only the keys included in this repository are for encrypting and decrypting credential secrets instead of token payloads. Key can be rotated using keystone-manage credential_rotate.
Bases: keystone.cmd.cli.BaseApp
Sync the database.
Bases: keystone.cmd.cli.BaseApp
Print the current migration version of the database.
Bases: keystone.cmd.cli.BaseApp
Diagnose common problems with keystone deployments.
Bases: keystone.cmd.cli.BaseApp
Upload the domain specific configuration files to the database.
Bases: object
Read configs from file(s) and load into database.
The command line parameters have already been parsed and the CONF command option will have been set. It is either set to the name of an explicit domain, or it’s None to indicate that we want all domain config files.
Validate the options, returning True if they are indeed valid.
It would be nice to use the argparse automated checking for this validation, but the only way I can see doing that is to make the default (i.e. if no optional parameters are specified) to upload all configuration files - and that sounds too dangerous as a default. So we use it in a slightly unconventional way, where all parameters are optional, but you must specify at least one.
Bases: keystone.cmd.cli.BasePermissionsSetup
Rotate Fernet encryption keys.
This assumes you have already run keystone-manage fernet_setup.
A new primary key is placed into rotation, which is used for new tokens. The old primary key is demoted to secondary, which can then still be used for validating tokens. Excess secondary keys (beyond [fernet_tokens] max_active_keys) are revoked. Revoked keys are permanently deleted. A new staged key will be created and used to validate tokens. The next time key rotation takes place, the staged key will be put into rotation as the primary key.
Rotating keys too frequently, or with [fernet_tokens] max_active_keys set too low, will cause tokens to become invalid prior to their expiration.
Bases: keystone.cmd.cli.BasePermissionsSetup
Setup a key repository for Fernet tokens.
This also creates a primary key used for both creating and validating Fernet tokens. To improve security, you should rotate your keys (using keystone-manage fernet_rotate, for example).
Bases: keystone.cmd.cli.BaseApp
Execute mapping engine locally.
Bases: keystone.cmd.cli.BaseApp
Pre-populate entries from domain-specific backends.
Running this command is not required. It should only be run right after the LDAP was configured, when many new users were added, or when “mapping_purge” is run.
This command will take a while to run. It is perfectly fine for it to run more than several minutes.
Bases: keystone.cmd.cli.BaseApp
Purge the mapping table.
Bases: keystone.cmd.cli.BaseCertificateSetup
Set up Key pairs and certificates for token signing and verification.
This is NOT intended for production use, see Keystone Configuration documentation for details. As of the Mitaka release, this command has been DEPRECATED and may be removed in the ‘O’ release.
Bases: keystone.cmd.cli.BaseApp
Generate Identity Provider metadata.
Bases: keystone.cmd.cli.BaseApp
Flush expired tokens from the backend.