Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Junjie Gao f82c165bb5
feat: add versionless key identifier support (#181)
Feat:
- added versionless key/certificate identifier support

Test:
- added unit test
- added E2E test

Docs:
- added tips for versionless id feature
- fixed NOTE marks

Resolves #180 #178 
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>

---------

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
2024-05-29 13:55:43 +08:00
Junjie Gao 53bdb047b2
feat: add credential_type plugin config (#157)
Feat:
- added creential_type plugin config key
- supported credential type: default, environment, managedidentity,
azurecli

Test:
- unit test cases
- e2e test cases
- tested environment credential, workload identity credential, managed
identity in pod of AKS
- tested Azure cli credential locally

Resolves #146 #154 
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>

---------

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
2024-04-11 10:14:02 +08:00
Junjie Gao e1442cd979
fix&test(e2e): mariner containerized e2e test (#149)
test:
- added containerized azure-kv plugin E2E test based on
mcr.microsoft.com/cbl-mariner/base/core:2.0

fix:
- set InvariantGlobalization mode to avoid access culture-specific data,
which removes the dependency of icu-libs (not contained in mariner
image)

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>

---------

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
2024-01-26 09:03:03 +08:00
Junjie Gao e3fce3d001
test: e2e test (#143)
Test:
- added e2e test for Linux, windows and macOS
- includes 14 test cases: imported pem/pfx certs chain, unordered
pem/pfx certs chain, azure key vault csr pem/pfx certs chain,
self-signed pem/pfx certs, partial pem/pfx certs chain with local cert
bundle and corresponding invalid cases.
- the E2E automatically run for PRs from `Azure/notation-azure-kv` repo
and will be skipped for folked repo

Additional files:
- dockerfile for build distribution registry on windows
- zot configuration for local registry on macOS
- generate-certs.sh script for create certificate on azure key vault for
future re-generating certificates.

---------

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
2023-12-22 12:11:33 +08:00