20 references to SecretType
Aspire.Hosting.Azure.AppContainers (20)
AzureContainerAppsInfrastructure.cs (20)
491if (secretType != SecretType.None)
500if (secretType == SecretType.KeyVault)
520SecretType.None => new ContainerAppEnvironmentVariable { Name = kv.Key, Value = argValue },
521SecretType.Normal or SecretType.KeyVault => new ContainerAppEnvironmentVariable { Name = kv.Key, SecretRef = (string)val },
616private async Task<(object, SecretType)> ProcessValueAsync(object value, DistributedApplicationExecutionContext executionContext, CancellationToken cancellationToken, SecretType secretType = SecretType.None, object? parent = null)
648var st = param.Secret ? SecretType.Normal : secretType;
662return (AllocateKeyVaultSecretUriReference(secretOutputReference), SecretType.KeyVault);
665return (AllocateParameter(secretOutputReference, secretType: SecretType.KeyVault), SecretType.KeyVault);
691var finalSecretType = SecretType.None;
697if (secret != SecretType.None)
699finalSecretType = SecretType.Normal;
756private ProvisioningParameter AllocateParameter(IManifestExpressionProvider parameter, Type? type = null, SecretType secretType = SecretType.None)
772_provisioningParameters[parameterName] = provisioningParameter = new ProvisioningParameter(parameterName, type ?? typeof(string)) { IsSecure = secretType != SecretType.None };