Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow setting SSE key via Python #575

Open
@jonashaag

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /