Commit Graph
13 Commits
Author SHA1 Message Date
dani dad21afc00 Large File Support (#21)
* disable multipart puts and add a large file test

* read random bytes rather than generate from string
2024-08-13 15:59:58 -04:00
daniandElim Tsiagbey 589e435ff1 Worker storage bucket credential state (#18)
* feat: parse minio errors and plugin permission

- Evaluate minio errors. If the error is a permission related error, convert the error to a `Permission` proto and attach it to the gRPC status
- Update `dryRun` method to join all errors before returning response. This ensures all the permissions are validated before returning

* refactor errorToStatus to return storage states

* update oncreate and validate errorcodes on failure

* update go.mod for new sdk version

* update tests to parse state instead of permissions

---------

Co-authored-by: Elim Tsiagbey <elim.tsiagbey@hashicorp.com>
2024-07-17 15:37:45 -04:00
dani 9299172dd1 move service account validation to only check for service account on credential rotation. should allow other S3-compatible providers (#16) 2024-05-15 11:45:47 -04:00
Hugo eb0c2b4682 feat(plugin): Implement Credential Rotation 2024-04-04 18:03:37 +01:00
dani 09cece64bc feat(plugin): implement DeleteObjects functionality along with associated automated tests (#14) 2024-04-04 12:19:10 -04:00
Hugo 4ffe4d227f feat(plugin): Implement GetObject 2024-03-15 17:39:24 +00:00
dani b335b9336b implement PutObject functionality and associated tests (#10) 2024-03-15 13:33:47 -04:00
Hugo a2235d93ce feat(plugin): Implement HeadObject 2024-03-12 18:47:26 +00:00
dani e0da13c89a add onupdate functionality (#6) 2024-03-12 13:00:11 -04:00
Hugo f1f0055663 feat(plugin): Implement OnDeleteStorageBucket 2024-03-04 19:42:01 +00:00
Danielle Miu 37e8482110 refactor(plugin): Split getStorageAttributes into attributes and secrets 2024-03-04 19:42:01 +00:00
Hugo 07ec485161 feat(plugin): Implement OnCreateStorageBucket and ValidatePermissions 2024-03-04 19:42:01 +00:00
Hugo a01669f03f feat(plugin): Create skeleton 2024-02-28 15:12:43 +00:00