mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-17 17:26:06 +01:00
Add a kms-tests.yml workflow that runs on changes to KMS/SSE code with two jobs: 1. KMS provider tests: starts OpenBao via Docker, runs Go integration tests in test/kms/ against a real KMS backend 2. S3 KMS e2e tests: starts OpenBao + weed mini built from source, runs test_s3_kms.sh which covers bucket-default SSE-KMS upload/download (the exact scenario from #8776) Supporting changes: - test/kms/Makefile: add CI targets (test-provider-ci, test-s3-kms-ci) that manage OpenBao via plain Docker and run weed from source - test/kms/s3-config-openbao-template.json: S3 config template with OpenBao KMS provider for weed mini
28 lines
589 B
JSON
28 lines
589 B
JSON
{
|
|
"identities": [
|
|
{
|
|
"name": "admin",
|
|
"credentials": [
|
|
{
|
|
"accessKey": "ACCESS_KEY_PLACEHOLDER",
|
|
"secretKey": "SECRET_KEY_PLACEHOLDER"
|
|
}
|
|
],
|
|
"actions": ["Admin", "Read", "List", "Tagging", "Write"]
|
|
}
|
|
],
|
|
"kms": {
|
|
"default_provider": "openbao",
|
|
"providers": {
|
|
"openbao": {
|
|
"type": "openbao",
|
|
"address": "OPENBAO_ADDR_PLACEHOLDER",
|
|
"token": "OPENBAO_TOKEN_PLACEHOLDER",
|
|
"transit_path": "transit",
|
|
"cache_enabled": true,
|
|
"cache_ttl": "20m"
|
|
}
|
|
}
|
|
}
|
|
}
|