lucianthomaz

keystone.conf

Apr 13th, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. [defaulsing ]
  2. # show more verbose log output (sets info log level output)
  3. verbose = false
  4.  
  5. # show debugging output in logs (sets debug log level output)
  6. debug = false
  7.  
  8. # which backend store should keystone use by default.
  9. # default: 'sqlite'
  10. # available choices are 'sqlite' [future will include ldap, pam, etc]
  11. default_store = sqlite
  12.  
  13. # log to this file. make sure you do not set the same log
  14. # file for both the api and registry servers!
  15. log_file = keystone.log
  16.  
  17. # list of backends to be configured
  18. backends = keystone.backends.sqlalchemy
  19. #for ldap support, add: ,keystone.backends.ldap
  20.  
  21. # dictionary maps every service to a header.missing services would get header
  22. # x_(service_name) key => service name, value => header name
  23. service-header-mappings = {
  24. 'nova' : 'x-server-management-url',
  25. 'swift' : 'x-storage-url',
  26. 'cdn' : 'x-cdn-management-url'}
  27.  
  28. # address to bind the api server
  29. # todo properties defined within app not available via pipeline.
  30. service_host = 0.0.0.0
  31.  
  32. # port the bind the api server to
  33. service_port = 5000
  34.  
  35. # address to bind the admin api server
  36. admin_host = 0.0.0.0
  37.  
  38. # port the bind the admin api server to
  39. admin_port = 35357
  40.  
  41. #role that allows to perform admin operations.
  42. keystone-admin-role = admin
  43.  
  44. #role that allows to perform service admin operations.
  45. keystone-service-admin-role = keystoneserviceadmin
  46.  
  47. #tells whether password user need to be hashed in the backend
  48. hash-password = true
  49.  
  50. [keystone.backends.sqlalchemy]
  51. # sqlalchemy connection string for the reference implementation registry
  52. # server. any valid sqlalchemy connection string is fine.
  53. # see: http://bit.ly/ideipi
  54. sql_connection = mysql://keystone:[email protected]/keystone
  55. backend_entities = ['userroleassociation', 'endpoints', 'role', 'tenant',
  56. 'user', 'credentials', 'endpointtemplates', 'token',
  57. 'service']
  58.  
  59. # period in seconds after which sqlalchemy should reestablish its connection
  60. # to the database.
  61. sql_idle_timeout = 30
  62.  
  63. [pipeline:admin]
  64. pipeline =
  65. urlrewritefilter
  66. admin_api
  67.  
  68. [pipeline:keystone-legacy-auth]
  69. pipeline =
  70. urlrewritefilter
  71. legacy_auth
  72. rax-key-extension
  73. service_api
  74.  
  75. [app:service_api]
  76. paste.app_factory = keystone.server:service_app_factory
  77.  
  78. [app:admin_api]
  79. paste.app_factory = keystone.server:admin_app_factory
  80.  
  81. [filter:urlrewritefilter]
  82. paste.filter_factory = keystone.middleware.url:filter_factory
  83.  
  84. [filter:legacy_auth]
  85. paste.filter_factory = keystone.frontends.legacy_token_auth:filter_factory
  86.  
  87. [filter:rax-key-extension]
  88. paste.filter_factory = keystone.contrib.extensions.service.raxkey.frontend:filter_factory
  89.  
  90. [filter:debug]
  91. paste.filter_factory = keystone.common.wsgi:debug_filter_factory
  92.  
  93. [identity]
  94. driver = keystone.identity.backends.sql.identity
  95.  
  96. [catalog]
  97. driver = keystone.catalog.backends.templated.templatedcatalog
  98. template_file = ./etc/default_catalog.templates
  99.  
  100. [token]
  101. driver = keystone.token.backends.kvs.token
  102.  
  103. # amount of time a token should remain valid (in seconds)
  104. expiration = 86400
  105.  
  106. [policy]
  107. driver = keystone.policy.backends.rules.policy
  108.  
  109. [ec2]
  110. driver = keystone.contrib.ec2.backends.kvs.ec2
Advertisement
Add Comment
Please, Sign In to add comment