diqiu50 opened a new pull request, #11669:
URL: https://github.com/apache/gravitino/pull/11669
### What changes were proposed in this pull request?
- Use shared `S3PropertiesMetadata`/`OSSPropertiesMetadata` to register
S3/OSS
credential properties, enabling credential vending for Paimon catalogs
- Mark sensitive properties (`jdbc-password`, `token`, `dlf-*`, S3/OSS
credentials)
as `hidden=true` to exclude them from `GET /catalogs/{catalog}` responses
- Remove dead-code classes `PaimonS3/OSSFileSystemConfig`, `S3StorageConfig`
- Warn in all catalog docs that `gravitino.bypass.*` properties are not
hidden
### Why are the changes needed?
Fix: #11644
### Does this PR introduce _any_ user-facing change?
Sensitive credential properties are no longer returned in plaintext via REST
API.
S3/OSS credential vending is now correctly enabled for Paimon catalogs.
### How was this patch tested?
Added `TestPaimonCatalogPropertiesMetadata`. `CatalogPaimonJdbcCredentialIT`,
`CatalogPaimonS3IT`, `CatalogPaimonJdbcIT` pass.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]