Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Question] Does the StackExchange Redis Client support Aws IAM Authentication

Đang mở
#2,891 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
aws, csharp, redis
Lĩnh vực
databases

Hướng nghiên cứu

Bắt đầu với đường dẫn mật khẩu của ConfigurationOptions và so sánh nó với tài liệu về AWS4Signer và xác thực IAM của ElastiCache được liên kết trong issue. Issue không nêu tệp dự án hay bài kiểm thử nào; để hoàn thành, cần xác nhận client có hỗ trợ luồng này hay không và xác định mục tiêu triển khai hoặc tài liệu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I am trying to use AWS IAM authentication to authenticate a connection to Elasticache redis as described here
https://docs.aws.amazon.com/AmazonElastiCache/late st/dg/auth-iam.html. To flow being that we provide an IAM authentication token using an Sig V4 Signing process. After providing the lAM role appropriate access, we use the [AWS4Signer ] (https://github.com/aws/aws-sdk-
net/blob/main/sdk/src/Core/Amazon.Runtime/Internal/A uth/AWS4Signer.cs) to sign a request and use the various authorization headers to create an auth token that we provide as the password to Redis. In this case, providing the password directly to the Password param in the ConfigurationOptions. Unfortunately the connection fails with
"StackExchange.Redis.RedisConnectionException:
The message timed out in the backlog attempting to send because no connection became available". I have tried many different methods of building the token following the Java or Python examples, but no luck.
Before I continue I wanted to confirm that this even possible with this library? There is no mention of it in documentation or code, but I imagine that this library doesn't do anything in terms of authentication and simply passes this string to elasticache, which should handle it and allow the connection. Any guidance or confirmation would be greatly appreciated.

Ngôn ngữ chính
C#
Star
6.2k
Fork
1.6k
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
27

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của StackExchange/StackExchange.Redis

Tất cả issue của StackExchange/StackExchange.Redis

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.