Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 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 = 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! |
Anthony Young | e8fed48 | 2011-09-26 19:50:43 -0700 | [diff] [blame] | 15 | log_file = %DEST%/keystone/keystone.log |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 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 | |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame^] | 28 | #List of extensions currently supported |
| 29 | extensions= osksadm,oskscatalog |
| 30 | |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 31 | # Address to bind the API server |
| 32 | # TODO Properties defined within app not available via pipeline. |
| 33 | service_host = 0.0.0.0 |
| 34 | |
| 35 | # Port the bind the API server to |
| 36 | service_port = 5000 |
| 37 | |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame^] | 38 | # SSL for API server |
| 39 | service_ssl = False |
| 40 | |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 41 | # Address to bind the Admin API server |
| 42 | admin_host = 0.0.0.0 |
| 43 | |
| 44 | # Port the bind the Admin API server to |
Anthony Young | a449dd8 | 2011-09-30 15:52:18 -0700 | [diff] [blame] | 45 | admin_port = 35357 |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 46 | |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame^] | 47 | # SSL for API Admin server |
| 48 | admin_ssl = False |
| 49 | |
| 50 | # Keystone certificate file (modify as needed) |
| 51 | # Only required if *_ssl is set to True |
| 52 | certfile = /etc/keystone/ssl/certs/keystone.pem |
| 53 | |
| 54 | # Keystone private key file (modify as needed) |
| 55 | # Only required if *_ssl is set to True |
| 56 | keyfile = /etc/keystone/ssl/private/keystonekey.pem |
| 57 | |
| 58 | # Keystone trusted CA certificates (modify as needed) |
| 59 | # Only required if *_ssl is set to True |
| 60 | ca_certs = /etc/keystone/ssl/certs/ca.pem |
| 61 | |
| 62 | # Client certificate required |
| 63 | # Only relevant if *_ssl is set to True |
| 64 | cert_required = True |
| 65 | |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 66 | #Role that allows to perform admin operations. |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame^] | 67 | keystone-admin-role = Admin |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 68 | |
| 69 | #Role that allows to perform service admin operations. |
Anthony Young | ea884c3 | 2011-09-23 03:24:27 +0000 | [diff] [blame] | 70 | keystone-service-admin-role = KeystoneServiceAdmin |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 71 | |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame^] | 72 | #Tells whether password user need to be hashed in the backend |
| 73 | hash-password = True |
| 74 | |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 75 | [keystone.backends.sqlalchemy] |
| 76 | # SQLAlchemy connection string for the reference implementation registry |
| 77 | # server. Any valid SQLAlchemy connection string is fine. |
| 78 | # See: http://bit.ly/ideIpI |
Anthony Young | a841644 | 2011-09-13 20:07:44 -0700 | [diff] [blame] | 79 | sql_connection = %SQL_CONN% |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 80 | backend_entities = ['UserRoleAssociation', 'Endpoints', 'Role', 'Tenant', |
| 81 | 'User', 'Credentials', 'EndpointTemplates', 'Token', |
| 82 | 'Service'] |
| 83 | |
| 84 | # Period in seconds after which SQLAlchemy should reestablish its connection |
| 85 | # to the database. |
| 86 | sql_idle_timeout = 30 |
| 87 | |
| 88 | [pipeline:admin] |
| 89 | pipeline = |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame^] | 90 | urlrewritefilter |
| 91 | admin_api |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 92 | |
| 93 | [pipeline:keystone-legacy-auth] |
| 94 | pipeline = |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame^] | 95 | urlrewritefilter |
Anthony Young | 3a09312 | 2011-09-13 19:01:45 +0000 | [diff] [blame] | 96 | legacy_auth |
| 97 | RAX-KEY-extension |
| 98 | service_api |
| 99 | |
| 100 | [app:service_api] |
| 101 | paste.app_factory = keystone.server:service_app_factory |
| 102 | |
| 103 | [app:admin_api] |
| 104 | paste.app_factory = keystone.server:admin_app_factory |
| 105 | |
| 106 | [filter:urlrewritefilter] |
| 107 | paste.filter_factory = keystone.middleware.url:filter_factory |
| 108 | |
| 109 | [filter:legacy_auth] |
| 110 | paste.filter_factory = keystone.frontends.legacy_token_auth:filter_factory |
| 111 | |
| 112 | [filter:RAX-KEY-extension] |
| 113 | paste.filter_factory = keystone.contrib.extensions.service.raxkey.frontend:filter_factory |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame^] | 114 | |
| 115 | [filter:debug] |
| 116 | paste.filter_factory = keystone.common.wsgi:debug_filter_factory |