From fe82d86d3e87cb8d92ebc9d0652c08e3dd79a12c Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 10 Mar 2023 20:38:34 +0100 Subject: container: T4959: add registry authentication option Container registry CLI node changed from leafNode to tagNode with the same defaults. In addition we can now configure an authentication option per registry. --- .../include/generic-password.xml.i | 15 ++++++++++++ .../include/generic-username.xml.i | 15 ++++++++++++ .../include/interface/authentication.xml.i | 28 ++-------------------- 3 files changed, 32 insertions(+), 26 deletions(-) create mode 100644 interface-definitions/include/generic-password.xml.i create mode 100644 interface-definitions/include/generic-username.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/generic-password.xml.i b/interface-definitions/include/generic-password.xml.i new file mode 100644 index 000000000..76d5f12d8 --- /dev/null +++ b/interface-definitions/include/generic-password.xml.i @@ -0,0 +1,15 @@ + + + + Password used for authentication + + txt + Password + + + [[:ascii:]]{1,128} + + Password is limited to ASCII characters only, with a total length of 128 + + + diff --git a/interface-definitions/include/generic-username.xml.i b/interface-definitions/include/generic-username.xml.i new file mode 100644 index 000000000..678f30ddf --- /dev/null +++ b/interface-definitions/include/generic-username.xml.i @@ -0,0 +1,15 @@ + + + + Username used for authentication + + txt + Username + + + [[:ascii:]]{1,128} + + Username is limited to ASCII characters only, with a total length of 128 + + + diff --git a/interface-definitions/include/interface/authentication.xml.i b/interface-definitions/include/interface/authentication.xml.i index ac06faef5..0bd792209 100644 --- a/interface-definitions/include/interface/authentication.xml.i +++ b/interface-definitions/include/interface/authentication.xml.i @@ -4,32 +4,8 @@ Authentication settings - - - Username used for authentication - - txt - Username - - - [[:ascii:]]{1,128} - - Username is limited to ASCII characters only, with a total length of 128 - - - - - Password used for authentication - - txt - Password - - - [[:ascii:]]{1,128} - - Password is limited to ASCII characters only, with a total length of 128 - - + #include + #include -- cgit v1.2.3