//go:build unix

package credentiallease

import (
	"os"
	"testing"
)

func secureTestKeyFile(t *testing.T, path string) {
	t.Helper()
	if err := os.Chmod(path, 0o600); err != nil {
		t.Fatal(err)
	}
}
