Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AssumeRoleWithCertificate credential provider. #1182

Conversation

balamurugana
Copy link
Member

Signed-off-by: Bala.FA bala@minio.io

@balamurugana balamurugana force-pushed the Add-AssumeRoleWithCertificate-credential-provider branch from 780bda5 to 337664e Compare February 28, 2022 14:18
@harshavardhana
Copy link
Member

@balamurugana looks like you didn't test this with MinIO. You need to provide provisions for client.crt and client.key

You haven't added any API that takes client certs.

minio-go API takes tls.Certificate which is a private and public key certificate - https://pkg.go.dev/crypto/tls#Certificate

@balamurugana balamurugana force-pushed the Add-AssumeRoleWithCertificate-credential-provider branch from 337664e to 96273c7 Compare February 28, 2022 17:37
@balamurugana balamurugana force-pushed the Add-AssumeRoleWithCertificate-credential-provider branch from 96273c7 to bac7444 Compare March 1, 2022 04:12
@balamurugana
Copy link
Member Author

Tested the PR using self-signed certificates with ignoring certificate check using custom HTTP client.

Signed-off-by: Bala.FA <bala@minio.io>
@balamurugana balamurugana force-pushed the Add-AssumeRoleWithCertificate-credential-provider branch from bac7444 to 4ce90b6 Compare March 1, 2022 04:20
@harshavardhana harshavardhana merged commit 0aa0234 into minio:master Mar 3, 2022
@balamurugana balamurugana deleted the Add-AssumeRoleWithCertificate-credential-provider branch March 23, 2022 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants