Comments (2)
Kerberos is not supported directly, but you have access to how the HttpClient
is created.
This blog post has details on how to authenticate with Kerberos using .NET, you should be able to do something similar using the SDK's HttpClientFactory
:
using Amazon;
using Amazon.Runtime;
using Amazon.S3;
using System.Net;
class KerberosClientFactory : HttpClientFactory
{
public override HttpClient CreateHttpClient(IClientConfig clientConfig)
{
var credentialsCache = new CredentialCache { ... };
var httpClientHandler = new HttpClientHandler { ... };
return new HttpClient(httpClientHandler);
}
}
AWSConfigs.HttpClientFactory = new KerberosClientFactory();
var s3 = new AmazonS3Client();
await s3.ListBucketsAsync();
This re:Invent talk from last year has more details on HttpClientFactory
: https://www.youtube.com/watch?v=t3swORUjuBk&t=683s
from aws-sdk-net.
This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.
from aws-sdk-net.
Related Issues (20)
- awssdk.core is missing NuGet package README file HOT 1
- AWSSDK.Extensions.CrtIntegration AssemblyFileVersion is not updated HOT 1
- awssdk.extensions.netcore.setup is missing NuGet package README file HOT 1
- awssdk.dynamodbv2 is missing NuGet package README file HOT 1
- awssdk.sqs is missing NuGet package README file HOT 1
- awssdk.secretsmanager is missing NuGet package README file HOT 1
- awssdk.securitytoken is missing NuGet package README file HOT 3
- Cannot find a handler of type EndpointResolver HOT 17
- Missing functionality to craft "Conditions" in S3 Client when generating Pre-signed url HOT 2
- Getting Timeout error after updating from 3.7.300.29 to 3.7.301 and later versions HOT 8
- CopyObjectAsync throws AmazonUnmarshallingException when the SourceBucket is null HOT 3
- no_proxy environment variable is not respected HOT 6
- TransferUtility.UploadAsync() throws error: "content would exceed Content-Length" when update to .NET8 HOT 19
- AmazonCloudWatchLogsClient.ListAnomaliesAsync throws Amazon.Runtime.AmazonClientException: We expected a VALUE token but got: ObjectStart HOT 14
- Get-S3Bucket : Invalid URI: The format of the URI could not be determined. HOT 17
- An option to accept email attachments as a CDN in the AWS's Simple Email Service HOT 3
- Set Content Type (mime code) for csv files HOT 4
- Amazon.BedrockRuntime.Model.ValidationException: "claude-3-sonnet-20240229" is not supported on this API HOT 4
- AmazonCloudWatchLogsClient.GetLogEvents does not return any event 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 aws-sdk-net.