Comments (6)
@aaronpowell, I'd like to contribute and make identity-based connections a reality if no one has the time. To achieve that, I'll need to communicate with you and/or other authors of the library first. This is because it is going to change a major type, ConnectionOperation
and I don't want to waste time onto the wrong direction.
My idea for the implementation is to add a new boolean member WithIdenty
to type ConnectionOperation
. When it is false the type would work as what it does now. When it is true, it is connecting using endpoint
and the identity provided by DefaultAzureCredential()
.
The next step after DefaultAzureCredential()
would be adding an option for the user to specify which identity to use with DefaultAzureCredentialOptions
.
@aaronpowell, please let me know what you think especially whether these implementation ideas are too intrusive to the existing codebase.
Thank you.
from fsharp.cosmosdb.
The change is probably not that huge, it'd just be adding another two properties to the ConnectionOperation
type and having an expanded match on what the connection mode should be when creating the CosmosClient
.
In the future, maybe it'd be better to refactor to use the AzureKeyCredential
but I'd have to check to ensure the constructor for CosmosClient
works with it.
Submit a PR and I'll review and we can iterate as needed.
from fsharp.cosmosdb.
Submit a PR and I'll review and we can iterate as needed.
Hi @aaronpowell,
- CI build process failed. I see this happens to your one other GitHub Action build attempt. Have you found out why it failed?
- Can you give me some light on how to test or install the locally built library?
from fsharp.cosmosdb.
looking for the same capability
I tried to build it myself also but I think the build tooling needs to be updated, first
from fsharp.cosmosdb.
looking for the same capability
I tried to build it myself also but I think the build tooling needs to be updated, first
@fwaris, if you don't use the Analyzer, you can use my build for now.
from fsharp.cosmosdb.
ok great. thanks!
BTW I was able to build by updating dotnet tools and using a global.json for .Net 6
from fsharp.cosmosdb.
Related Issues (20)
- Performance benefits in sharing the connection? HOT 2
- Release 0.2.0 ready for review HOT 3
- Release 0.2.0 ready for review HOT 3
- Release 0.2.0 ready for review HOT 2
- Release 0.2.0 ready for review HOT 2
- Release 0.2.0 ready for review HOT 2
- Release 0.2.0 ready for review HOT 2
- Analyzer not loading HOT 1
- Use a singleton Azure Cosmos DB client for the lifetime of your application HOT 3
- Any chance of UPSERT support? HOT 2
- 📣 Announcement - Road to v1 HOT 3
- Is Paket required for FSharp.CosmosDb.Analyzer? HOT 8
- Getting a warning about package downgrade HOT 4
- Issue deleting an item from a container HOT 2
- Does it support Stored Procedure? HOT 3
- [Request] Make compatable with newer Azure Functions versions HOT 1
- Linq Query Support HOT 5
- Cannot open in dev container when on Windows HOT 2
- Replace doesn't resolve correct id value HOT 3
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 fsharp.cosmosdb.