第 87 章 user

87.1. 

创建新用户

使用方法:

openstack user create [-h] [-f {json,shell,table,value,yaml}]
                             [-c COLUMN] [--noindent] [--prefix PREFIX]
                             [--max-width <integer>] [--fit-width]
                             [--print-empty] [--domain <domain>]
                             [--project <project>]
                             [--project-domain <project-domain>]
                             [--password <password>] [--password-prompt]
                             [--email <email-address>]
                             [--description <description>]
                             [--ignore-lockout-failure-attempts]
                             [--no-ignore-lockout-failure-attempts]
                             [--ignore-password-expiry]
                             [--no-ignore-password-expiry]
                             [--ignore-change-password-upon-first-use]
                             [--no-ignore-change-password-upon-first-use]
                             [--enable-lock-password]
                             [--disable-lock-password]
                             [--enable-multi-factor-auth]
                             [--disable-multi-factor-auth]
                             [--multi-factor-auth-rule <rule>]
                             [--enable | --disable] [--or-show]
                             <name>

表 87.1. 

概述

<name>

表 87.2. 命令参数

概述

-h, --help

显示帮助信息并退出

--domain <domain>

--project <project>

--project-domain <project-domain>

--password <password>

--password-prompt

--email <email-address>

--description <description>

--ignore-lockout-failure-attempts

--no-ignore-lockout-failure-attempts

--ignore-password-expiry

--no-ignore-password-expiry

--ignore-change-password-upon-first-use

--no-ignore-change-password-upon-first-use

--enable-lock-password

--disable-lock-password

--enable-multi-factor-auth

--disable-multi-factor-auth

--multi-factor-auth-rule <rule>

--enable

--disable

--or-show

表 87.3. 

概述

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

表 87.4. 

概述

--noindent

表 87.5. 

概述

--prefix PREFIX

表 87.6. 

概述

--max-width <integer>

--fit-width

--print-empty