Feat: Rename universalAuthMachineIdentity to universalAuth

This commit is contained in:
Daniel Hougaard
2024-03-21 17:08:01 +01:00
parent 3765a14246
commit c08c78de8d
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func GetServiceTokenDetails(infisicalToken string) (api.GetServiceTokenDetailsRe
return serviceTokenDetails, nil
}
func GetPlainTextSecretsViaUniversalAuthMachineIdentity(accessToken string, etag string, secretScope v1alpha1.MachineIdentityScopeInWorkspace) ([]model.SingleEnvironmentVariable, model.UpdateAttributes, error) {
func GetPlainTextSecretsViaUniversalAuth(accessToken string, etag string, secretScope v1alpha1.MachineIdentityScopeInWorkspace) ([]model.SingleEnvironmentVariable, model.UpdateAttributes, error) {
httpClient := resty.New()
httpClient.SetAuthScheme("Bearer")