from oslo_config import cfg


secret_key = cfg.StrOpt('secret_key',
                        help='Secret key used to encrypt pre-signed URLs.')


GROUP_NAME = 'signed_url'
ALL_OPTS = [
    secret_key
]


def register_opts(conf):
    conf.register_opts(ALL_OPTS, group=GROUP_NAME)


def list_opts():
    return {GROUP_NAME: ALL_OPTS}
