You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

oci_storage_config.py 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. from pydantic import Field
  2. from pydantic_settings import BaseSettings
  3. class OCIStorageConfig(BaseSettings):
  4. """
  5. Configuration settings for Oracle Cloud Infrastructure (OCI) Object Storage
  6. """
  7. OCI_ENDPOINT: str | None = Field(
  8. description="URL of the OCI Object Storage endpoint (e.g., 'https://objectstorage.us-phoenix-1.oraclecloud.com')",
  9. default=None,
  10. )
  11. OCI_REGION: str | None = Field(
  12. description="OCI region where the bucket is located (e.g., 'us-phoenix-1')",
  13. default=None,
  14. )
  15. OCI_BUCKET_NAME: str | None = Field(
  16. description="Name of the OCI Object Storage bucket to store and retrieve objects (e.g., 'my-oci-bucket')",
  17. default=None,
  18. )
  19. OCI_ACCESS_KEY: str | None = Field(
  20. description="Access key (also known as API key) for authenticating with OCI Object Storage",
  21. default=None,
  22. )
  23. OCI_SECRET_KEY: str | None = Field(
  24. description="Secret key associated with the access key for authenticating with OCI Object Storage",
  25. default=None,
  26. )