lemur/lemur/tests/conf.py

69 lines
1.5 KiB
Python
Raw Normal View History

2015-07-22 19:53:35 +02:00
# This is just Python which means you can inherit and tweak settings
import os
_basedir = os.path.abspath(os.path.dirname(__file__))
ADMINS = frozenset([''])
THREADS_PER_PAGE = 8
2015-07-23 17:52:56 +02:00
# General
2015-07-22 19:53:35 +02:00
# These will need to be set to `True` if you are developing locally
CORS = False
debug = False
TESTING = True
# this is the secret key used by flask session management
SECRET_KEY = 'I/dVhOZNSMZMqrFJa5tWli6VQccOGudKerq3eWPMSzQNmHHVhMAQfQ=='
# You should consider storing these separately from your config
LEMUR_TOKEN_SECRET = 'test'
LEMUR_ENCRYPTION_KEYS = 'o61sBLNBSGtAckngtNrfVNd8xy8Hp9LBGDstTbMbqCY='
2015-07-22 19:53:35 +02:00
# this is a list of domains as regexes that only admins can issue
LEMUR_RESTRICTED_DOMAINS = []
2015-07-23 17:52:56 +02:00
# Mail Server
2015-07-22 19:53:35 +02:00
# Lemur currently only supports SES for sending email, this address
# needs to be verified
LEMUR_EMAIL = ''
LEMUR_SECURITY_TEAM_EMAIL = []
2015-07-23 17:52:56 +02:00
# Logging
2015-07-22 19:53:35 +02:00
LOG_LEVEL = "DEBUG"
LOG_FILE = "lemur.log"
2015-07-23 17:52:56 +02:00
# Database
2015-07-22 19:53:35 +02:00
# modify this if you are not using a local database
SQLALCHEMY_DATABASE_URI = 'postgresql://lemur:lemur@localhost:5432/lemur'
2015-11-25 23:54:08 +01:00
SQLALCHEMY_TRACK_MODIFICATIONS = False
2015-07-22 19:53:35 +02:00
2015-07-23 17:52:56 +02:00
# AWS
2015-07-22 19:53:35 +02:00
2015-07-23 17:52:56 +02:00
LEMUR_INSTANCE_PROFILE = 'Lemur'
2015-07-22 19:53:35 +02:00
2015-07-23 17:52:56 +02:00
# Issuers
2015-07-22 19:53:35 +02:00
# These will be dependent on which 3rd party that Lemur is
# configured to use.
2015-07-23 18:08:07 +02:00
# CLOUDCA_URL = ''
# CLOUDCA_PEM_PATH = ''
# CLOUDCA_BUNDLE = ''
2015-07-22 19:53:35 +02:00
# number of years to issue if not specified
2015-07-23 18:08:07 +02:00
# CLOUDCA_DEFAULT_VALIDITY = 2
2015-07-22 19:53:35 +02:00
2015-07-23 17:52:56 +02:00
VERISIGN_URL = 'http://example.com'
VERISIGN_PEM_PATH = '~/'
VERISIGN_FIRST_NAME = 'Jim'
VERISIGN_LAST_NAME = 'Bob'
VERSIGN_EMAIL = 'jim@example.com'