Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libs
config
Merge requests
!1
Master
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Master
master
into
main
Overview
0
Commits
88
Pipelines
2
Changes
3
Merged
Master
Sigmund, Dominik
requested to merge
master
into
main
Jun 13, 2023
Overview
0
Commits
88
Pipelines
2
Changes
3
0
0
Merge request reports
Viewing commit
2a31ba11
Prev
Next
Show latest version
3 files
+
59
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Unverified
2a31ba11
Added Secure shoow option
· 2a31ba11
Sigmund, Dominik
authored
Jul 11, 2022
README.md
+
21
−
3
View file @ 2a31ba11
Edit in single-file editor
Open in Web IDE
Show full file
@@ -23,10 +23,28 @@ It reads from the following sources, performing a deep merge:
Enviroment Variables can target deep nested settings:
The Setting _setting.deep.key_ can be reached with
*SETTING_DEEP_KEY*
You may use the function _reload()_ to reload the config from all sources.
`config.reload()``
You may use the function
_
_reload()_ to reload the config from all sources.
`config.
_
reload()``
This makes *reload* a reserved keyword
This makes *_reload* a reserved keyword
You may use the function __show()_ to display the config without:
- password
- secret
- token
- key
- apiKey
- apiToken
- apiSecret
- user
- username
Values will be replaced with the value "redacted"
`
config._show()
``
This makes *_show* a reserved keyword
If you give a basePath, the config-Files are used from there.
Else the main dir of the application will be used.
Loading