Is it possible to pull the creds from vault to use with a s3 backend?

I would to be able to use dynamically created iam creds with a s3 backend.

I tried this, but it seems I can’t use variables.

backend "s3" {                                                       
  bucket  = "my-bucket"                         
  key     = "terraform.tfstate"                                     
  encrypt = true                                                     
  region  = "ca-central-1"                                           
  access_key = data.vault_aws_access_credentials.aws_creds.access_key
  secret_key = data.vault_aws_access_credentials.aws_creds.secret_key
}                                                                    

Any other way?