Support temporary credentials and X-Amz-Security-Token
See original GitHub issueHi,
I’m trying to use minio on windows servers. I’ve downloaded .NET SDK and found that there is no support of temporary credentials. I use client grants endpoint to retrieve temporary credentials with my signed JWT token from Identity Server 3 (supports OAuth2 and OIDC). But when I’m trying to pass temp accessKey
and secretKey
into MinioClient
class and get some file or information about bucket there are an error message from minio server:
MinioException: Minio API responded with message=The security token included in the request is invalid
I can’t use X-Amz-Security-Token query string and value of my session token because AWS signature is not valid for such request.
Do you have any planes or dates when you implement (or not?) this feature in upcoming release? What can I use right now for such case?
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
@antonchaika, the credentials need to fetched from STS as in this example(https://docs.aws.amazon.com/AmazonS3/latest/dev/AuthUsingTempSessionTokenDotNet.html) . The S3Config to connect to minio server can be seen in minio docs here
@poornas this requires you to implement credentials handling like minio-go