Add token secret to intermediate registry
An upcoming change will add JWT authentication to the registry; prepare for that by establishing a server-side secret for use in signing the tokens. Change-Id: Ibaa15dd0c4b0d797f01a1886186fdc021dc990fa
This commit is contained in:
parent
3674059437
commit
dee6a8b330
@ -3,6 +3,7 @@ registry:
|
|||||||
port: 5000
|
port: 5000
|
||||||
tls-cert: /certs/domain.crt
|
tls-cert: /certs/domain.crt
|
||||||
tls-key: /certs/domain.key
|
tls-key: /certs/domain.key
|
||||||
|
secret: {{ registry_token_secret }}
|
||||||
users:
|
users:
|
||||||
- name: {{ registry_user }}
|
- name: {{ registry_user }}
|
||||||
pass: {{ registry_password }}
|
pass: {{ registry_password }}
|
||||||
|
@ -5,6 +5,7 @@ registry_swift_tenant: 123456
|
|||||||
registry_swift_region: DFW
|
registry_swift_region: DFW
|
||||||
registry_swift_container: intermediate_registry
|
registry_swift_container: intermediate_registry
|
||||||
registry_swift_secretkey: testsecretkey
|
registry_swift_secretkey: testsecretkey
|
||||||
|
registry_token_secret: test_secret
|
||||||
registry_password: testpassword
|
registry_password: testpassword
|
||||||
registry_tls_cert: |
|
registry_tls_cert: |
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
|
Loading…
x
Reference in New Issue
Block a user