public static KeyVaultTaskSettings Set(this KeyVaultTaskSettings keyVaultTaskSettings, KeyVaultSettings settings) { keyVaultTaskSettings = keyVaultTaskSettings.NewInstance(); keyVaultTaskSettings.ClientId = settings.ClientId; keyVaultTaskSettings.ClientSecret = settings.Secret; keyVaultTaskSettings.VaultBaseUrl = settings.BaseUrl; return(keyVaultTaskSettings); }
public static KeyVaultTaskSettings SetSecretName(this KeyVaultTaskSettings keyVaultSettings, string secretName) { keyVaultSettings = keyVaultSettings.NewInstance(); keyVaultSettings.SecretName = secretName; return(keyVaultSettings); }
public static KeyVaultTaskSettings SetVaultBaseUrl(this KeyVaultTaskSettings keyVaultSettings, string vaultBaseUrl) { keyVaultSettings = keyVaultSettings.NewInstance(); keyVaultSettings.VaultBaseUrl = vaultBaseUrl; return(keyVaultSettings); }
public static KeyVaultTaskSettings SetClientSecret(this KeyVaultTaskSettings keyVaultSettings, string clientSecret) { keyVaultSettings = keyVaultSettings.NewInstance(); keyVaultSettings.ClientSecret = clientSecret; return(keyVaultSettings); }