Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| dev-tools:s3_object_storage [2025/09/22 12:23] – [minIO client setup] fabricio | dev-tools:s3_object_storage [2025/10/15 16:37] (current) – [RKNS (Zarr V2) from Minio ZIP] fabricio | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| < | < | ||
| - | For adding the certificate, write it to a < | + | For adding the certificate: |
| + | |||
| + | 1. write the certificate | ||
| + | |||
| + | 2. move it to the path where certificates are stored on your OS. | ||
| + | For OpenSuse Leap 15.6: | ||
| + | < | ||
| + | For Ubuntu it should be: | ||
| + | < | ||
| + | |||
| + | 3.Run the following command to update the certificates | ||
| ===== Example '' | ===== Example '' | ||
| Line 233: | Line 243: | ||
| zarr.create_array(store=store, | zarr.create_array(store=store, | ||
| + | </ | ||
| + | |||
| + | ===== Example Using mlflow ===== | ||
| + | This assumes that you have already set up a MLFLow server with a Minio artifact store. | ||
| + | In addition, the client has to also provide the credentials to the Minio store, as it directly sends it to s3, not via the mlflow. | ||
| + | You can do so by setting a few environment variables. | ||
| + | Note that the code below assumes you have a local file called ' | ||
| + | |||
| + | <code python> | ||
| + | |||
| + | print(" | ||
| + | load_dotenv() | ||
| + | |||
| + | # --- Configuration: | ||
| + | os.environ[" | ||
| + | os.environ[" | ||
| + | os.environ[" | ||
| + | os.environ[" | ||
| + | |||
| + | ca_cert_path = " | ||
| + | if not os.path.exists(ca_cert_path): | ||
| + | raise FileNotFoundError(f" | ||
| + | os.environ[" | ||
| + | # uncomment this if you want to ignore an insecure TLS/ | ||
| + | # | ||
| + | os.environ[" | ||
| </ | </ | ||
| Line 277: | Line 313: | ||
| </ | </ | ||
| + | |||
| + | |||