pub fn scope_team<'a>(
spec: &'a GeneratedSecretSpec,
default_team: Option<&'a str>,
) -> Option<&'a str>Expand description
Resolve the team segment for a generated secret’s canonical URI.
Tenant-scoped secrets (or those that pin team: "_") collapse to the
tenant-wide _ placeholder; otherwise the declared team wins, falling back
to the active setup team.