Using a common function but include the entire source of function in each dashboard

Hi, I have a function that we implmented that pulls back some secrets from an azure key vault. This is working. I have the full function inside the dashboard script and all is well.

I would like to move the function out of the dashboard script and just include as a reference.

would I just add this to the dashboard script?

. (Join-Path $PSScriptRoot .\Get-AzureSecret.ps1)

What is considered the root for PSU and where might I place this function script?

Product: PowerShell Universal
Version: 1.4.6

Looks like I can place the file in the Repository area and then reference it as

. (Join-Path $Repository .\Get-AzureSecret.ps1)

not sure if this is best practice or not but it gets all of the scripts closer.

$PSScriptRoot was the actual root of the dashboard and I did not want to replicate this for each dashboard.