When working with terraform it's best practice to generate temporary credentials instead of username/password or other long term credentials.
This is possible with the minio AssumeRoleWithWebIdentity api using this example but it doesn't seem like this provider supports the username+secret+token authentication parameters that would make it work.
Steps to Reproduce
Set up the example to obtain AccessKeyId,SecretAccessKey,SessionToken from the AssumeRoleWithWebIdentity api.
Obtain these credentials
Try to put them into the provider as $MINIO_USERNAME and $MINIO_PASSWORD but there's no way to do that.
Expected behavior: [What you expect to happen]
Ideally there would be a third $MINIO_SESSION_TOKEN parameter. (minio_session_token in the provider config) that would allow these credentials to work using STS
Actual behavior: [What actually happens]
There doesn't appear to be a way to enter the session token
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Description
When working with terraform it's best practice to generate temporary credentials instead of username/password or other long term credentials.
This is possible with the minio AssumeRoleWithWebIdentity api using this example but it doesn't seem like this provider supports the
username
+secret
+token
authentication parameters that would make it work.Steps to Reproduce
AccessKeyId
,SecretAccessKey
,SessionToken
from theAssumeRoleWithWebIdentity
api.$MINIO_USERNAME
and$MINIO_PASSWORD
but there's no way to do that.Expected behavior: [What you expect to happen] Ideally there would be a third $MINIO_SESSION_TOKEN parameter. (minio_session_token in the provider config) that would allow these credentials to work using STS
Actual behavior: [What actually happens] There doesn't appear to be a way to enter the session token
Reproduces how often: [What percentage of the time does it reproduce?] 100%
Versions
Terraform v1.6.5 on linux_amd64