File: basic-auth-for-user-image-server-150835e7567444da.yaml

package info (click to toggle)
ironic-python-agent 10.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,416 kB
  • sloc: python: 35,563; sh: 60; makefile: 29
file content (27 lines) | stat: -rw-r--r-- 1,766 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
features:
  - |
    Introducing basic authentication and configurable authentication strategy
    support for image and image checksum download processes. This feature
    introduces 3 new variables that could be set (either via oslo.config or
    image_info) to select the authentication strategy an provide credentials
    for HTTP(S) basic authentication. The 3 variables are structured in way
    that 1 of them 'image_server_auth_strategy' (string) provides the ability
    to select between authentication strategies by specifying the name of
    the strategy. Currently the only supported authentication strategy is the
    'http-basic' which will make IPA use HTTP(S) basic authentication also
    known as the 'RFC 7617' standard. The other 2 variables
    'image_server_password' and 'image_server_user' provide username and
    password credentials for image download processes. The
    'image_server_password' and 'image_server_user' are not strategy specific
    and could be reused  for any username + password based authentication
    strategy, but for the moment these 2 variables are only used for the
    'http-basic' strategy. 'image_server_basic_auth' not just enables the
    feature but enforces checks on the values of the 2 related credentials.
    When the 'http-basic' strategy is enabled for image server download
    workflow the download logic will make sure to raise an exception in case
    any of the credentials are None or an empty string. Values coming from
    'image_info' are prioritized over values coming from the 'oslo.config'
    framework and the 2 different credential source can't be mixed. Passing 1
    or 2 out of the 3 from and source and the remaining values from an other
    source will result in a exception.