设为首页 收藏本站
查看: 863|回复: 0

[经验分享] keystone之权限认证功能openstack

[复制链接]

尚未签到

发表于 2018-5-30 12:54:25 | 显示全部楼层 |阅读模式
  

  

  

  

  

  Keystone is an OpenStack service that provides API client authentication, service discovery, and distributed multi-tenant authorization by implementing OpenStack’s Identity API.
  

  

  

  

  

keystone







  https://docs.openstack.org/keystone/latest/




















  

  

  

  

   OpenStack中的一些概念
  http://blog.chinaunix.net/uid-15041-id-4807612.html
  

  
openstack的用户(user), 租户(tenant), 角色(role)概念区分
  http://blog.csdn.net/abc1235678/article/details/51955050
  

  

  

  

  

  

  

一、用户(user)
表示拥有用户名,密码,邮箱等帐号信息的自然人。创建一个用户名为“hui”的用户如下:
$ keystone user-create –name=hui –pass=password –mail=hui@example.com
二、租户(tenant)
租户可以理解为一个项目,团队或组织。你必须指定一个相应的租户(tenant)才可以申请OpenStack服务,例如你指定以某租户申请Compute服务来查询当前运行的实例列表,则你将收到的是该租户的运行实例列表,而无法看到其它租户的运行实例列表。
创建一个名为“acm”租户的命令如下:
$ keystone tenant-create –name=acm
三、角色(role)
代表特定的租户中的用户用户操作权限,可以使用如下命令创建角色:
$ keystone role-create –name=compute-user

你可以理解租户为那些使用你云环境的客户,这些客户可以是一个项目组、工作组、公司,这些客户中会建立不同的帐号(用户)及其对应的权限(角色)。
  

  

  

  

  

Operator Documentation
This section contains the documentation for deploying and operating the keystone service.

  •   Configuring Keystone

    •   Setting up other OpenStack Services
    •   Identity sources
    •   Service Catalog
    •   Endpoint Filtering
    •   Endpoint Policy
    •   SSL
    •   OAuth1 1.0a
    •   Token Binding
    •   Limiting list return size
    •   Health Check middleware
    •   API protection with Role Based Access Control (RBAC)
    •   Preparing your deployment
    •   Supported clients

  •   Advanced Topics

    •   Federated Identity
    •   Configuring Keystone for Tokenless Authorization
    •   Time-based One-time Password (TOTP)
    •   Keystone Event Notifications
    •   Using external authentication with Keystone

User Documentation
This section contains the documentation for end-users of keystone.

  •   User Documentation

    •   API Examples using Curl

CLI Documentation
This section details information related to keystone-manage.

  •   CLI Documentation

    •   keystone-manage

Administrator Guides

  •   Administrator Guides

    •   Identity concepts
    •   Bootstrapping Identity
    •   Manage projects, users, and roles
    •   Create and manage services and service users
    •   Certificates for PKI
    •   Domain-specific configuration
    •   URL safe naming of projects and domains
    •   External authentication with Identity
    •   Integrate Identity with LDAP
    •   Upgrading Keystone
    •   Keystone tokens
    •   Configure Identity service for token binding
    •   Fernet - Frequently Asked Questions
    •   Use trusts
    •   Caching layer
    •   Security compliance and PCI-DSS
    •   Performance and scaling
    •   Example usage and Identity features
    •   Authentication middleware with user name and password
    •   Identity API protection with role-based access control (RBAC)
    •   Troubleshoot the Identity service
    •   Token provider
    •   Federated Identity
    •   Credential Encryption

Configuration Options

  •   Keystone Configuration Options

    •   API Configuration options
    •   Policy configuration
    •   Sample configuration files

  
  

  

  

  

  

  

  

  

  

  

  

  

  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-483127-1-1.html 上篇帖子: Cloud in Action: Manage and Manipulate OpenStack with CLI, SDK and API 下篇帖子: graphite+grafana监控openstack和ceph
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表