Comments (3)
Most of the methods used to create new clients have exported fields or methods to retrieve at minimum the credentials that were used to dial.
Azure
We can retrieve the non random, user specified resource name that's included in the credentials.
Swift, Oracle
We can retrieve the non random, user specified tenant name that's included in the credentials.
S3 - There doesn't seem to be any information related to a user specified name, but at least we have the credentials and other information that we may be able to do something with.
Google
We can at least grab the credentials (Project ID or json information). @jasonhancock could you confirm if there's any credentials that are user specified? Project ID or something? We could use that if possible.
from stow.
Great job, thanks Corey.
On 30 Sep 2016, at 11:37, Corey Prak [email protected] wrote:
It looks like we can do something.
Azure https://github.com/Azure/azure-sdk-for-go/blob/master/storage/client.go#L50
We can retrieve the non random, user specified resource name that's included in the credentials.Swift, Oracle https://github.com/ncw/swift/blob/b964f2ca856aac39885e258ad25aec08d5f64ee6/swift.go#L83
We can retrieve the non random, user specified tenant name that's included in the credentials.S3 https://github.com/aws/aws-sdk-go/blob/af3026711cd873ccb4e87a7142fa8ca0be8f2aef/aws/credentials/credentials.go#L155 - There doesn't seem to be any information related to a user specified name, but at least we have the credentials and other information that we may be able to do something with.
Google https://github.com/google/google-api-go-client/blob/master/storage/v1/storage-gen.go#L80
We can at least grab the credentials (Project ID or json information). @jasonhancock https://github.com/jasonhancock could you confirm if there's any credentials that are user specified? Project ID or something? We could use that if possible.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #78 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AAGNG_y7Xftgc944k78o7IlCil4t8YsJks5qvOZggaJpZM4KKIRt.
from stow.
On balance, I'd say that we shouldn't do this. The location name is outside the scope of Stow.
We could return location name for those that support it, but then they'll be inconsistent.
from stow.
Related Issues (20)
- Support location encryption
- Support for object ACL
- Stow makes too many API, also fails to list buckets in other regions
- Out of date documentation
- Is it possible to work with non-Amazon S3 service HOT 1
- Infinite loop in `stow.Walk` HOT 3
- Support for Google Drive, Dropbox, OneDrive, etc.
- Directly use bucket instead of Walking through containers HOT 3
- RemoveContainer for` local` seems incorrect
- b2 - bad_request: accountId invalid HOT 1
- GCS requires permissions not available in standard role
- RequestBodyTooLarge while uploading data into azure storage HOT 1
- S3 upload is failing when data is read from stdin
- s3: specifying bucket region causes Container() to return non-existent containers HOT 4
- Access Azure blobstore container using container_uri and sas_token HOT 1
- How can I obtain the Region from the Location
- Support for Digital Ocean - Spaces
- Item(id) panics in local implementation if the id is not a correct path
- Legacy S3 path being used
- Example of how to connect to Google Cloud Storage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stow.