20 references to SecretType
Aspire.Hosting.Azure.ContainerApps (20)
AzureContanierAppsInfrastructure.cs (20)
494if (secretType != SecretType.None) 503if (secretType == SecretType.KeyVault) 522SecretType.None => new ContainerAppEnvironmentVariable { Name = kv.Key, Value = argValue }, 523SecretType.Normal or SecretType.KeyVault => new ContainerAppEnvironmentVariable { Name = kv.Key, SecretRef = (string)val }, 619private async Task<(object, SecretType)> ProcessValueAsync(object value, DistributedApplicationExecutionContext executionContext, CancellationToken cancellationToken, SecretType secretType = SecretType.None, object? parent = null) 651var st = param.Secret ? SecretType.Normal : secretType; 665return (AllocateKeyVaultSecretUriReference(secretOutputReference), SecretType.KeyVault); 668return (AllocateParameter(secretOutputReference, secretType: SecretType.KeyVault), SecretType.KeyVault); 694var finalSecretType = SecretType.None; 700if (secret != SecretType.None) 702finalSecretType = SecretType.Normal; 762private ProvisioningParameter AllocateParameter(IManifestExpressionProvider parameter, Type? type = null, SecretType secretType = SecretType.None) 778_provisioningParameters[parameterName] = provisioningParameter = new ProvisioningParameter(parameterName, type ?? typeof(string)) { IsSecure = secretType != SecretType.None };