align(sts): use filer /etc/ path convention for IAM storage

- Update DefaultSessionBasePath to /etc/iam/sessions (was /seaweedfs/iam/sessions)
- Update DefaultPolicyBasePath to /etc/iam/policies (was /seaweedfs/iam/policies)
- Update DefaultRoleBasePath to /etc/iam/roles (was /seaweedfs/iam/roles)
- Update iam_config_distributed.json to use /etc/iam paths
- Align with existing filer configuration structure in filer_conf.go
- Follow SeaweedFS convention of storing configs under /etc/
- Add FILER_INTEGRATION.md documenting path conventions
- Maintain consistency with IamConfigDirectory = '/etc/iam'
- Enable standard filer backup/restore procedures for IAM data
- Ensure operational consistency across SeaweedFS components
This commit is contained in:
chrislu committed 2025-08-24 13:53:41 -07:00
1 parent 2dee3e2d52
commit 0a6c238eb0
2 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@
"sessionStoreType": "filer",
"sessionStoreConfig": {
"filerAddress": "localhost:8888",
"basePath": "/seaweedfs/iam/sessions"
"basePath": "/etc/iam/sessions"
},
"providers": [
{
@@ -42,14 +42,14 @@
"storeType": "filer",
"storeConfig": {
"filerAddress": "localhost:8888",
"basePath": "/seaweedfs/iam/policies"
"basePath": "/etc/iam/policies"
}
},
"roleStore": {
"storeType": "filer",
"storeConfig": {
"filerAddress": "localhost:8888",
"basePath": "/seaweedfs/iam/roles"
"basePath": "/etc/iam/roles"
}
},