Advertisement
Guest User

swill

a guest
Nov 14th, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. [DEFAULT]
  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 = True
  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 = /var/log/keystone/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 = 127.0.0.1
  31.  
  32. # Port the bind the API server to
  33. service_port = 5000
  34.  
  35. service_ssl = False
  36.  
  37. # Address to bind the Admin API server
  38. admin_host = 127.0.0.1
  39.  
  40. # Port the bind the Admin API server to
  41. admin_port = 5001
  42.  
  43. admin_ssl = False
  44.  
  45. #Role that allows to perform admin operations.
  46. keystone-admin-role = Admin
  47.  
  48. #Role that allows to perform service admin operations.
  49. keystone-service-admin-role = KeystoneServiceAdmin
  50.  
  51. #Tells whether password user need to be hashed in the backend
  52. hash-password = True
  53.  
  54. [keystone.backends.sqlalchemy]
  55. # SQLAlchemy connection string for the reference implementation registry
  56. # server. Any valid SQLAlchemy connection string is fine.
  57. # See: http://bit.ly/ideIpI
  58. sql_connection = sqlite:///keystone.db
  59. backend_entities = ['UserRoleAssociation', 'Endpoints', 'Role', 'Tenant',
  60. 'User', 'Credentials', 'EndpointTemplates', 'Token',
  61. 'Service']
  62.  
  63. # Period in seconds after which SQLAlchemy should reestablish its connection
  64. # to the database.
  65. sql_idle_timeout = 30
  66.  
  67. [pipeline:admin]
  68. pipeline =
  69. urlrewritefilter
  70. admin_api
  71.  
  72. [pipeline:keystone-legacy-auth]
  73. pipeline =
  74. urlrewritefilter
  75. legacy_auth
  76. RAX-KEY-extension
  77. service_api
  78.  
  79. [app:service_api]
  80. paste.app_factory = keystone.server:service_app_factory
  81.  
  82. [app:admin_api]
  83. paste.app_factory = keystone.server:admin_app_factory
  84.  
  85. [filter:urlrewritefilter]
  86. paste.filter_factory = keystone.middleware.url:filter_factory
  87.  
  88. [filter:legacy_auth]
  89. paste.filter_factory = keystone.frontends.legacy_token_auth:filter_factory
  90.  
  91. [filter:RAX-KEY-extension]
  92. paste.filter_factory = keystone.contrib.extensions.service.raxkey.frontend:filter_factory
  93.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement