Skip to content

Commit

Permalink
Support service_account in ApplicationDefaultCredentials and Use Self…
Browse files Browse the repository at this point in the history
…SignedJwt (apache#4926)

* Support service_account in ApplicationDefaultCredentials

* Use SelfSignedJwt for Service Accounts

* Update CI

* Apply suggestions from code review

Co-authored-by: Marco Neumann <[email protected]>

---------

Co-authored-by: Marco Neumann <[email protected]>
  • Loading branch information
tustvold and crepererum authored Oct 16, 2023
1 parent 4a23ab9 commit 69c9375
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 158 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/object_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
# Give the container a moment to start up prior to configuring it
sleep 1
curl -v -X POST --data-binary '{"name":"test-bucket"}' -H "Content-Type: application/json" "https://localhost:4443/storage/v1/b"
echo '{"gcs_base_url": "https://localhost:4443", "disable_oauth": true, "client_email": "", "private_key": ""}' > "$GOOGLE_SERVICE_ACCOUNT"
echo '{"gcs_base_url": "https://localhost:4443", "disable_oauth": true, "client_email": "", "private_key": "", "private_key_id": ""}' > "$GOOGLE_SERVICE_ACCOUNT"
- name: Setup WebDav
run: docker run -d -p 8080:80 rclone/rclone serve webdav /data --addr :80
Expand Down
Loading

0 comments on commit 69c9375

Please sign in to comment.