@Deprecated
    @Restricted(DoNotUse.class)
    public static String resolve(ConfigurationContext context, String toInterpolate) {
        return context.getSecretSourceResolver().resolve(toInterpolate);
    }
Resolve string with potential secrets

@param context Configuration context
@param toInterpolate potential variables that need to revealed
@return original string with any secrets that could be resolved if secrets could not be
resolved they will be defaulted to default value defined by ':-', otherwise default to empty
String. Secrets are defined as anything enclosed by '${}'
@since 1.42
@deprecated use {@link #resolve(String)}} instead.
plugin/src/main/java/io/jenkins/plugins/casc/SecretSourceResolver.java