Created
April 6, 2019 13:08
-
-
Save nicolas-grekas/141db1e7695987e89705d32285e3151f to your computer and use it in GitHub Desktop.
secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
env(SECRETS_FILE): .secrets.php | |
services: | |
# default configuration for services in *this* file | |
_defaults: | |
autowire: true # Automatically injects dependencies in your services. | |
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. | |
bind: | |
$someSecret: '%env(key:KEY3:require:SECRETS_FILE)%' | |
$someSecret: '%env(secrets:KEY3)%' | |
$secrets = @include .secrets.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment