Add example for authorization config. (#732)

Add example for secret file config.
This commit is contained in:
Ferdinand Mütsch 2019-02-06 01:31:19 -08:00 committed by Ewelina Wilkosz
parent d79341767d
commit 06b08f29ae
2 changed files with 9 additions and 0 deletions

View File

@ -33,3 +33,8 @@ credentials:
accessKey: ${AWS_ACCESS_KEY_ID} #Load from Environment Variable
secretKey: ${AWS_SECRET_ACCESS_KEY} #Load from Environment Variable
description: "AWS Credentials"
- file:
scope: GLOBAL
id: "secret-file"
fileName: "mysecretfile.txt"
secretBytes: ${SECRET_FILE_BYTES} # SECRET_FILE_BYTES="$(cat mysecretfile.txt | base64)"

View File

@ -10,6 +10,10 @@ jenkins:
- key: FOO
value: BAR
authorizationStrategy:
loggedInUsersCanDoAnything:
allowAnonymousRead: false
clouds:
- docker:
name: "docker"