Add example for authorization config. (#732)
Add example for secret file config.
This commit is contained in:
parent
d79341767d
commit
06b08f29ae
|
|
@ -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)"
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@ jenkins:
|
|||
- key: FOO
|
||||
value: BAR
|
||||
|
||||
authorizationStrategy:
|
||||
loggedInUsersCanDoAnything:
|
||||
allowAnonymousRead: false
|
||||
|
||||
clouds:
|
||||
- docker:
|
||||
name: "docker"
|
||||
|
|
|
|||
Loading…
Reference in New Issue