diff options
author | Niamh Core <niamh.core@est.tech> | 2021-08-23 14:40:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-08-23 14:40:55 +0000 |
commit | f2f0a770d2e4e9dde29c4e77c18fedd70331b5e7 (patch) | |
tree | 356975d0bd24bac5d0357c1bc46c8bd2af0490f2 /src/main/resources/application.yml | |
parent | 2a41a4f022af65ab878f6e6f7646e78d4ef27a06 (diff) | |
parent | 743380d1f171d4c0dd46dc0cd5b47d8ea93bea44 (diff) |
Merge "Add basic security to query interface"
Diffstat (limited to 'src/main/resources/application.yml')
-rwxr-xr-x | src/main/resources/application.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 41eddf8..a3b1cd8 100755 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -68,6 +68,12 @@ springdoc: urls: - name: query url: /swagger/openapi.yml +security: + # comma-separated uri patterns which do not require authorization + permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/swagger/openapi.yml + auth: + username: ${APP_USERNAME} + password: ${APP_PASSWORD} # Actuator management: |