Overview
Follow-up issue for Oracle Cloud Object Storage AFS adapter to implement additional authentication methods and enhancements that were deferred from the initial implementation in #35 (merged in #36).
Background
The initial Oracle Cloud Object Storage adapter implementation (#36) successfully delivered:
- ✅ Config file authentication
- ✅ Instance principal authentication
- ✅ Core connector functionality
- ✅ Path validation
- ✅ Unit tests
- ✅ Documentation
However, some features were marked as future work and need to be implemented.
Remaining Tasks
1. Resource Principal Authentication
Priority: Medium
Effort: ~4 hours
Use Case: Required for OCI Functions to authenticate without storing credentials.
Implementation Notes:
private IBasicAuthenticationDetailsProvider CreateResourcePrincipalProvider()
{
// Research correct OCI .NET SDK API for resource principal
// Current placeholder throws NotImplementedException
return ResourcePrincipalAuthenticationDetailsProvider.Build();
}
2. Simple Authentication with Direct Credentials
Priority: Low
Effort: ~6 hours
Use Case: Useful for testing and scenarios where config file is not available.
Implementation Notes:
private IBasicAuthenticationDetailsProvider CreateSimpleProvider()
{
// Research correct constructor signature for SimpleAuthenticationDetailsProvider
// May need to read private key file and convert to appropriate format
return new SimpleAuthenticationDetailsProvider(
tenancyOcid: TenancyOcid,
userOcid: UserOcid,
fingerprint: Fingerprint,
privateKeyPath: PrivateKeyPath,
passphrase: PrivateKeyPassphrase?.ToCharArray()
);
}
3. Custom Endpoint Configuration
Priority: Low
Effort: ~2 hours
Use Case: Required for using OCI-compatible storage services or testing with local emulators.
Current Code:
// Note: Custom endpoint configuration would need to be set via ClientConfiguration
// if needed in the future
4. Integration Tests
Priority: High
Effort: ~8 hours
Note: Integration tests require actual OCI account and credentials.
5. Performance Benchmarks
Priority: Medium
Effort: ~6 hours
6. Additional Enhancements
Priority: Low
Effort: Variable
Success Criteria
Dependencies
Related Issues
Notes
- Tasks can be implemented incrementally in separate PRs
- Integration tests and benchmarks may require OCI account setup
- Resource principal and simple auth require research into correct OCI .NET SDK APIs
- Consider creating separate issues for larger tasks (integration tests, benchmarks)
Overview
Follow-up issue for Oracle Cloud Object Storage AFS adapter to implement additional authentication methods and enhancements that were deferred from the initial implementation in #35 (merged in #36).
Background
The initial Oracle Cloud Object Storage adapter implementation (#36) successfully delivered:
However, some features were marked as future work and need to be implemented.
Remaining Tasks
1. Resource Principal Authentication
Priority: Medium
Effort: ~4 hours
ResourcePrincipalAuthenticationDetailsProvidersupportOracleCloudObjectStorageConfiguration.CreateResourcePrincipalProvider()Use Case: Required for OCI Functions to authenticate without storing credentials.
Implementation Notes:
2. Simple Authentication with Direct Credentials
Priority: Low
Effort: ~6 hours
SetSimpleAuth(userOcid, tenancyOcid, fingerprint, privateKeyPath, passphrase)Use Case: Useful for testing and scenarios where config file is not available.
Implementation Notes:
3. Custom Endpoint Configuration
Priority: Low
Effort: ~2 hours
OracleCloudObjectStorageConnector.New()Use Case: Required for using OCI-compatible storage services or testing with local emulators.
Current Code:
4. Integration Tests
Priority: High
Effort: ~8 hours
Note: Integration tests require actual OCI account and credentials.
5. Performance Benchmarks
Priority: Medium
Effort: ~6 hours
6. Additional Enhancements
Priority: Low
Effort: Variable
Success Criteria
Dependencies
afs/oraclecloud/objectstorage/Related Issues
Notes