Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
159c1c38
Commit
159c1c38
authored
Jan 14, 2016
by
zubair-arbi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add base configuration setting for commnuication with programs, organization and user api
ECOM-3455
parent
27ebc266
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
playbooks/roles/credentials/defaults/main.yml
+36
-0
No files found.
playbooks/roles/credentials/defaults/main.yml
View file @
159c1c38
...
...
@@ -65,6 +65,24 @@ CREDENTIALS_SOCIAL_AUTH_REDIRECT_IS_HTTPS: false
CREDENTIALS_PLATFORM_NAME
:
'
Your
Platform
Name
Here'
# credentials service user in programs service and lms
CREDENTIALS_SERVICE_USER
:
'
credentials_service_user'
# Absolute URL used to get programs from the programs service.
CREDENTIALS_PROGRAMS_API_URL
:
'
https://127.0.0.1:8004/api/v1/'
CREDENTIALS_PROGRAMS_API_JWT_AUDIENCE
:
'
programs-key'
CREDENTIALS_PROGRAMS_API_JWT_SECRET_KEY
:
'
programs-secret'
# Absolute URL used to get organization data from the organizations api in LMS
CREDENTIALS_ORGANIZATIONS_API_URL
:
'
https://127.0.0.1:8000/api/organizations/v0/'
CREDENTIALS_ORGANIZATIONS_API_AUDIENCE
:
'
lms-key'
CREDENTIALS_ORGANIZATIONS_API_SECRET_KEY
:
'
lms-secret'
# Absolute URL used to get user data from the user api in LMS
CREDENTIALS_USER_API_URL
:
'
https://127.0.0.1:8000/api/user/v1/'
CREDENTIALS_USER_API_JWT_AUDIENCE
:
'
lms-key'
CREDENTIALS_USER_API_JWT_SECRET_KEY
:
'
lms-secret'
CREDENTIALS_SERVICE_CONFIG
:
SECRET_KEY
:
'
{{
CREDENTIALS_SECRET_KEY
}}'
TIME_ZONE
:
'
{{
CREDENTIALS_TIME_ZONE
}}'
...
...
@@ -89,6 +107,24 @@ CREDENTIALS_SERVICE_CONFIG:
AWS_ACCESS_KEY_ID
:
'
'
AWS_SECRET_ACCESS_KEY
:
'
'
# credentials service user in programs service and lms
CREDENTIALS_SERVICE_USER
:
'
{{
CREDENTIALS_SERVICE_USER
}}'
# programs api configuration
PROGRAMS_API_URL
:
'
{{
CREDENTIALS_PROGRAMS_API_URL
}}'
PROGRAMS_JWT_AUDIENCE
:
'
{{
CREDENTIALS_PROGRAMS_API_JWT_AUDIENCE
}}'
PROGRAMS_JWT_SECRET_KEY
:
'
{{
CREDENTIALS_PROGRAMS_API_JWT_SECRET_KEY
}}'
# organizations api configuration
ORGANIZATIONS_API_URL
:
'
{{
CREDENTIALS_ORGANIZATIONS_API_URL
}}'
ORGANIZATIONS_AUDIENCE
:
'
{{
CREDENTIALS_ORGANIZATIONS_API_AUDIENCE
}}'
ORGANIZATIONS_SECRET_KEY
:
'
{{
CREDENTIALS_ORGANIZATIONS_API_SECRET_KEY
}}'
# user api configuration
USER_API_URL
:
'
{{
CREDENTIALS_USER_API_URL
}}'
USER_JWT_AUDIENCE
:
'
{{
CREDENTIALS_USER_API_JWT_AUDIENCE
}}'
USER_JWT_SECRET_KEY
:
'
{{
CREDENTIALS_USER_API_JWT_SECRET_KEY
}}'
CREDENTIALS_REPOS
:
-
PROTOCOL
:
"
{{
COMMON_GIT_PROTOCOL
}}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment