-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Right now we cannot set server-side encryption keys via Python:
In [3]: b = S3Store("x", sse_customer_key_base64="a")
---------------------------------------------------------------------------
UnknownConfigurationKeyError Traceback (most recent call last)
Cell In[3], line 1
----> 1 b = S3Store("x", sse_customer_key_base64="a")
UnknownConfigurationKeyError: Configuration key: 'sse_customer_key_base64' is not valid for store 'S3'.
Debug source:
UnknownConfigurationKey {
store: "S3",
key: "sse_customer_key_base64",
}
But it seems to work via environment variables:
❯ AWS_SSE_CUSTOMER_KEY_BASE64=... AWS_SERVER_SIDE_ENCRYPTION=sse-c pixi run ipython
In [1]: from obstore.store import S3Store
In [2]: S3Store("x").config
Out[2]: {'bucket': 'x'}
My version: obstore 0.8.2 py313h0b74987_0 2.5 MiB conda https://prefix.dev/conda-forge/
Metadata
Metadata
Assignees
Labels
No labels