20 references to SecretType
Aspire.Hosting.Azure.AppContainers (20)
AzureContainerAppsInfrastructure.cs (20)
474if (secretType != SecretType.None) 483if (secretType == SecretType.KeyVault) 502SecretType.None => new ContainerAppEnvironmentVariable { Name = kv.Key, Value = argValue }, 503SecretType.Normal or SecretType.KeyVault => new ContainerAppEnvironmentVariable { Name = kv.Key, SecretRef = (string)val }, 599private async Task<(object, SecretType)> ProcessValueAsync(object value, DistributedApplicationExecutionContext executionContext, CancellationToken cancellationToken, SecretType secretType = SecretType.None, object? parent = null) 631var st = param.Secret ? SecretType.Normal : secretType; 645return (AllocateKeyVaultSecretUriReference(secretOutputReference), SecretType.KeyVault); 648return (AllocateParameter(secretOutputReference, secretType: SecretType.KeyVault), SecretType.KeyVault); 674var finalSecretType = SecretType.None; 680if (secret != SecretType.None) 682finalSecretType = SecretType.Normal; 743private ProvisioningParameter AllocateParameter(IManifestExpressionProvider parameter, Type? type = null, SecretType secretType = SecretType.None) 759_provisioningParameters[parameterName] = provisioningParameter = new ProvisioningParameter(parameterName, type ?? typeof(string)) { IsSecure = secretType != SecretType.None };