Skip to content

Commit

Permalink
chore: add mount path to verbose logging for approle
Browse files Browse the repository at this point in the history
  • Loading branch information
werne2j committed Apr 3, 2023
1 parent ddbd42b commit b587367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/vault/approle.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (a *AppRoleAuth) Authenticate(vaultClient *api.Client) error {
"secret_id": a.SecretID,
}

utils.VerboseToStdErr("Hashicorp Vault authenticating with role ID %s and secret ID %s", a.RoleID, a.SecretID)
utils.VerboseToStdErr("Hashicorp Vault authenticating with role ID %s and secret ID %s at path %s", a.RoleID, a.SecretID, a.MountPath)
data, err := vaultClient.Logical().Write(fmt.Sprintf("%s/login", a.MountPath), payload)
if err != nil {
return err
Expand Down

0 comments on commit b587367

Please sign in to comment.