I am trying to create a vaultProvider using approl...
# dotnet
f
I am trying to create a vaultProvider using approle. I have tried adding AuthLoginArgs with the role_id and secret_id but it is giving me the error stating that "auth_login.0.parameters: should be a map". I was unable to find any good example that is doing this so hoping someone here can help.
Copy code
var vaultProvider = new Provider("vault",
  new Pulumi.Vault.ProviderArgs
  {
    Address = config.Require("vaultEndpoint"),
    AuthLogins = new InputList<ProviderAuthLoginsArgs>
    {
      new ProviderAuthLoginsArgs
      {
        Path = $"auth/approle/role/{config.Require("vaultAppRoleName")}/login",
        Parameters = new InputMap<string>
        {
          {"role_id", config.Require("vaultAppRoleId")},
          {"secret_id", config.RequireSecret("vaultAppRoleSecretId")}
        },
      }
    }
  });
t
Could you please create an issue for this?
f
Will do!