https://github.com/globocom/globomap-auth-manager
Python client for GloboMap Auth
https://github.com/globocom/globomap-auth-manager
globo globomap python36
Last synced: 10 months ago
JSON representation
Python client for GloboMap Auth
- Host: GitHub
- URL: https://github.com/globocom/globomap-auth-manager
- Owner: globocom
- License: apache-2.0
- Created: 2018-03-01T20:05:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T00:33:42.000Z (over 6 years ago)
- Last Synced: 2025-09-06T23:47:57.127Z (10 months ago)
- Topics: globo, globomap, python36
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GloboMap Auth Manager
Python client for GloboMap Auth
## Starting Project:
` make setup `
## Running Tests:
` make setup ` (When project not started yet.)
` make tests `
## Environment variables configuration
All of the environment variables below must be set for the api to work properly.
| Variable | Description | Example |
|------------------------------------|-------------------------------|-------------------------------|
| KEYSTONE_USERNAME | Keystone username | username |
| KEYSTONE_PASSWORD | Keystone password | xyz |
| KEYSTONE_PROJECT_NAME | Keystone project name | globomap |
| KEYSTONE_AUTH_URL | Keystone auth url | http://auth.domain.com/v3 |
| KEYSTONE_USER_DOMAIN_NAME | keystone user domain name | default |
| KEYSTONE_PROJECT_DOMAIN_NAME | keystone project domain name | default |
### Using REDIS as cache of Auth (optional)
#### SENTINEL
All of the environment variables below must be set for the to work properly.
| Variable | Description | Example |
|------------------------------------|----------------------------------|-----------------------------------------------------------------------|
| REDIS_SENTINEL_ENDPOINT_SIMPLE | Control variable to use Sentinel | 1 |
| REDIS_SENTINELS_PORT | Redis Sentinel port | 26379 |
| REDIS_SENTINELS | Redis Sentinel adrress | auth1.sentinel.domain.com,auth2.sentinel.domain,auth3.sentinel.domain |
| REDIS_SENTINEL_SERVICE_NAME | Redis Sentinel service name | service_name |
| REDIS_SENTINEL_PASSWORD | Redis Sentinel password | xyz |
| USE_REDIS | Control variable to use Redis | 1 |
#### REDIS
| Variable | Description | Example |
|------------------------------------|----------------------------------|------------------------------|
| REDIS_HOST | Redis host | auth.sentinel.domain.com |
| REDIS_PORT | Redis port | 6379 |
| REDIS_PASSWORD | Redis password | xyz |
| USE_REDIS | Control variable to use Redis | 1 |
## Licensing
GloboMap Auth Manager is under [Apache 2 License](./LICENSE)