harness.platform.HarRegistry
Explore with Pulumi AI
Resource for creating and managing Harness Registries.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
// Example of a Virtual Registry
const virtualRegistry = new harness.platform.HarRegistry("virtual_registry", {
    identifier: "virtual_docker_registry",
    description: "Virtual Docker Registry",
    spaceRef: "accountId/orgId/projectId",
    packageType: "DOCKER",
    configs: [{
        type: "VIRTUAL",
        upstreamProxies: [
            "registry1",
            "registry2",
        ],
    }],
    parentRef: "accountId/orgId/projectId",
});
// Example of an Upstream Registry with Authentication
const upstreamRegistry = new harness.platform.HarRegistry("upstream_registry", {
    identifier: "upstream_helm_registry",
    description: "Upstream Helm Registry",
    spaceRef: "accountId/orgId/projectId",
    packageType: "HELM",
    configs: [{
        type: "UPSTREAM",
        source: "CUSTOM",
        url: "https://helm.sh",
        auths: [{
            authType: "UserPassword",
            userName: "registry_user",
            secretIdentifier: "registry_password",
            secretSpacePath: "accountId/orgId/projectId",
        }],
    }],
    parentRef: "accountId/orgId/projectId",
});
import pulumi
import pulumi_harness as harness
# Example of a Virtual Registry
virtual_registry = harness.platform.HarRegistry("virtual_registry",
    identifier="virtual_docker_registry",
    description="Virtual Docker Registry",
    space_ref="accountId/orgId/projectId",
    package_type="DOCKER",
    configs=[{
        "type": "VIRTUAL",
        "upstream_proxies": [
            "registry1",
            "registry2",
        ],
    }],
    parent_ref="accountId/orgId/projectId")
# Example of an Upstream Registry with Authentication
upstream_registry = harness.platform.HarRegistry("upstream_registry",
    identifier="upstream_helm_registry",
    description="Upstream Helm Registry",
    space_ref="accountId/orgId/projectId",
    package_type="HELM",
    configs=[{
        "type": "UPSTREAM",
        "source": "CUSTOM",
        "url": "https://helm.sh",
        "auths": [{
            "auth_type": "UserPassword",
            "user_name": "registry_user",
            "secret_identifier": "registry_password",
            "secret_space_path": "accountId/orgId/projectId",
        }],
    }],
    parent_ref="accountId/orgId/projectId")
package main
import (
	"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Example of a Virtual Registry
		_, err := platform.NewHarRegistry(ctx, "virtual_registry", &platform.HarRegistryArgs{
			Identifier:  pulumi.String("virtual_docker_registry"),
			Description: pulumi.String("Virtual Docker Registry"),
			SpaceRef:    pulumi.String("accountId/orgId/projectId"),
			PackageType: pulumi.String("DOCKER"),
			Configs: platform.HarRegistryConfigArray{
				&platform.HarRegistryConfigArgs{
					Type: pulumi.String("VIRTUAL"),
					UpstreamProxies: pulumi.StringArray{
						pulumi.String("registry1"),
						pulumi.String("registry2"),
					},
				},
			},
			ParentRef: pulumi.String("accountId/orgId/projectId"),
		})
		if err != nil {
			return err
		}
		// Example of an Upstream Registry with Authentication
		_, err = platform.NewHarRegistry(ctx, "upstream_registry", &platform.HarRegistryArgs{
			Identifier:  pulumi.String("upstream_helm_registry"),
			Description: pulumi.String("Upstream Helm Registry"),
			SpaceRef:    pulumi.String("accountId/orgId/projectId"),
			PackageType: pulumi.String("HELM"),
			Configs: platform.HarRegistryConfigArray{
				&platform.HarRegistryConfigArgs{
					Type:   pulumi.String("UPSTREAM"),
					Source: pulumi.String("CUSTOM"),
					Url:    pulumi.String("https://helm.sh"),
					Auths: platform.HarRegistryConfigAuthArray{
						&platform.HarRegistryConfigAuthArgs{
							AuthType:         pulumi.String("UserPassword"),
							UserName:         pulumi.String("registry_user"),
							SecretIdentifier: pulumi.String("registry_password"),
							SecretSpacePath:  pulumi.String("accountId/orgId/projectId"),
						},
					},
				},
			},
			ParentRef: pulumi.String("accountId/orgId/projectId"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() => 
{
    // Example of a Virtual Registry
    var virtualRegistry = new Harness.Platform.HarRegistry("virtual_registry", new()
    {
        Identifier = "virtual_docker_registry",
        Description = "Virtual Docker Registry",
        SpaceRef = "accountId/orgId/projectId",
        PackageType = "DOCKER",
        Configs = new[]
        {
            new Harness.Platform.Inputs.HarRegistryConfigArgs
            {
                Type = "VIRTUAL",
                UpstreamProxies = new[]
                {
                    "registry1",
                    "registry2",
                },
            },
        },
        ParentRef = "accountId/orgId/projectId",
    });
    // Example of an Upstream Registry with Authentication
    var upstreamRegistry = new Harness.Platform.HarRegistry("upstream_registry", new()
    {
        Identifier = "upstream_helm_registry",
        Description = "Upstream Helm Registry",
        SpaceRef = "accountId/orgId/projectId",
        PackageType = "HELM",
        Configs = new[]
        {
            new Harness.Platform.Inputs.HarRegistryConfigArgs
            {
                Type = "UPSTREAM",
                Source = "CUSTOM",
                Url = "https://helm.sh",
                Auths = new[]
                {
                    new Harness.Platform.Inputs.HarRegistryConfigAuthArgs
                    {
                        AuthType = "UserPassword",
                        UserName = "registry_user",
                        SecretIdentifier = "registry_password",
                        SecretSpacePath = "accountId/orgId/projectId",
                    },
                },
            },
        },
        ParentRef = "accountId/orgId/projectId",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.HarRegistry;
import com.pulumi.harness.platform.HarRegistryArgs;
import com.pulumi.harness.platform.inputs.HarRegistryConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        // Example of a Virtual Registry
        var virtualRegistry = new HarRegistry("virtualRegistry", HarRegistryArgs.builder()
            .identifier("virtual_docker_registry")
            .description("Virtual Docker Registry")
            .spaceRef("accountId/orgId/projectId")
            .packageType("DOCKER")
            .configs(HarRegistryConfigArgs.builder()
                .type("VIRTUAL")
                .upstreamProxies(                
                    "registry1",
                    "registry2")
                .build())
            .parentRef("accountId/orgId/projectId")
            .build());
        // Example of an Upstream Registry with Authentication
        var upstreamRegistry = new HarRegistry("upstreamRegistry", HarRegistryArgs.builder()
            .identifier("upstream_helm_registry")
            .description("Upstream Helm Registry")
            .spaceRef("accountId/orgId/projectId")
            .packageType("HELM")
            .configs(HarRegistryConfigArgs.builder()
                .type("UPSTREAM")
                .source("CUSTOM")
                .url("https://helm.sh")
                .auths(HarRegistryConfigAuthArgs.builder()
                    .authType("UserPassword")
                    .userName("registry_user")
                    .secretIdentifier("registry_password")
                    .secretSpacePath("accountId/orgId/projectId")
                    .build())
                .build())
            .parentRef("accountId/orgId/projectId")
            .build());
    }
}
resources:
  # Example of a Virtual Registry
  virtualRegistry:
    type: harness:platform:HarRegistry
    name: virtual_registry
    properties:
      identifier: virtual_docker_registry
      description: Virtual Docker Registry
      spaceRef: accountId/orgId/projectId
      packageType: DOCKER
      configs:
        - type: VIRTUAL
          upstreamProxies:
            - registry1
            - registry2
      parentRef: accountId/orgId/projectId
  # Example of an Upstream Registry with Authentication
  upstreamRegistry:
    type: harness:platform:HarRegistry
    name: upstream_registry
    properties:
      identifier: upstream_helm_registry
      description: Upstream Helm Registry
      spaceRef: accountId/orgId/projectId
      packageType: HELM
      configs:
        - type: UPSTREAM
          source: CUSTOM
          url: https://helm.sh
          auths:
            - authType: UserPassword
              userName: registry_user
              secretIdentifier: registry_password
              secretSpacePath: accountId/orgId/projectId
      parentRef: accountId/orgId/projectId
Create HarRegistry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HarRegistry(name: string, args: HarRegistryArgs, opts?: CustomResourceOptions);@overload
def HarRegistry(resource_name: str,
                args: HarRegistryArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def HarRegistry(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                configs: Optional[Sequence[HarRegistryConfigArgs]] = None,
                identifier: Optional[str] = None,
                package_type: Optional[str] = None,
                allowed_patterns: Optional[Sequence[str]] = None,
                blocked_patterns: Optional[Sequence[str]] = None,
                description: Optional[str] = None,
                parent_ref: Optional[str] = None,
                space_ref: Optional[str] = None)func NewHarRegistry(ctx *Context, name string, args HarRegistryArgs, opts ...ResourceOption) (*HarRegistry, error)public HarRegistry(string name, HarRegistryArgs args, CustomResourceOptions? opts = null)
public HarRegistry(String name, HarRegistryArgs args)
public HarRegistry(String name, HarRegistryArgs args, CustomResourceOptions options)
type: harness:platform:HarRegistry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HarRegistryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HarRegistryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HarRegistryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HarRegistryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HarRegistryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var harRegistryResource = new Harness.Platform.HarRegistry("harRegistryResource", new()
{
    Configs = new[]
    {
        new Harness.Platform.Inputs.HarRegistryConfigArgs
        {
            Type = "string",
            AuthType = "string",
            Auths = new[]
            {
                new Harness.Platform.Inputs.HarRegistryConfigAuthArgs
                {
                    AuthType = "string",
                    SecretIdentifier = "string",
                    SecretSpacePath = "string",
                    UserName = "string",
                },
            },
            Source = "string",
            UpstreamProxies = new[]
            {
                "string",
            },
            Url = "string",
        },
    },
    Identifier = "string",
    PackageType = "string",
    AllowedPatterns = new[]
    {
        "string",
    },
    BlockedPatterns = new[]
    {
        "string",
    },
    Description = "string",
    ParentRef = "string",
    SpaceRef = "string",
});
example, err := platform.NewHarRegistry(ctx, "harRegistryResource", &platform.HarRegistryArgs{
	Configs: platform.HarRegistryConfigArray{
		&platform.HarRegistryConfigArgs{
			Type:     pulumi.String("string"),
			AuthType: pulumi.String("string"),
			Auths: platform.HarRegistryConfigAuthArray{
				&platform.HarRegistryConfigAuthArgs{
					AuthType:         pulumi.String("string"),
					SecretIdentifier: pulumi.String("string"),
					SecretSpacePath:  pulumi.String("string"),
					UserName:         pulumi.String("string"),
				},
			},
			Source: pulumi.String("string"),
			UpstreamProxies: pulumi.StringArray{
				pulumi.String("string"),
			},
			Url: pulumi.String("string"),
		},
	},
	Identifier:  pulumi.String("string"),
	PackageType: pulumi.String("string"),
	AllowedPatterns: pulumi.StringArray{
		pulumi.String("string"),
	},
	BlockedPatterns: pulumi.StringArray{
		pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	ParentRef:   pulumi.String("string"),
	SpaceRef:    pulumi.String("string"),
})
var harRegistryResource = new HarRegistry("harRegistryResource", HarRegistryArgs.builder()
    .configs(HarRegistryConfigArgs.builder()
        .type("string")
        .authType("string")
        .auths(HarRegistryConfigAuthArgs.builder()
            .authType("string")
            .secretIdentifier("string")
            .secretSpacePath("string")
            .userName("string")
            .build())
        .source("string")
        .upstreamProxies("string")
        .url("string")
        .build())
    .identifier("string")
    .packageType("string")
    .allowedPatterns("string")
    .blockedPatterns("string")
    .description("string")
    .parentRef("string")
    .spaceRef("string")
    .build());
har_registry_resource = harness.platform.HarRegistry("harRegistryResource",
    configs=[{
        "type": "string",
        "auth_type": "string",
        "auths": [{
            "auth_type": "string",
            "secret_identifier": "string",
            "secret_space_path": "string",
            "user_name": "string",
        }],
        "source": "string",
        "upstream_proxies": ["string"],
        "url": "string",
    }],
    identifier="string",
    package_type="string",
    allowed_patterns=["string"],
    blocked_patterns=["string"],
    description="string",
    parent_ref="string",
    space_ref="string")
const harRegistryResource = new harness.platform.HarRegistry("harRegistryResource", {
    configs: [{
        type: "string",
        authType: "string",
        auths: [{
            authType: "string",
            secretIdentifier: "string",
            secretSpacePath: "string",
            userName: "string",
        }],
        source: "string",
        upstreamProxies: ["string"],
        url: "string",
    }],
    identifier: "string",
    packageType: "string",
    allowedPatterns: ["string"],
    blockedPatterns: ["string"],
    description: "string",
    parentRef: "string",
    spaceRef: "string",
});
type: harness:platform:HarRegistry
properties:
    allowedPatterns:
        - string
    blockedPatterns:
        - string
    configs:
        - authType: string
          auths:
            - authType: string
              secretIdentifier: string
              secretSpacePath: string
              userName: string
          source: string
          type: string
          upstreamProxies:
            - string
          url: string
    description: string
    identifier: string
    packageType: string
    parentRef: string
    spaceRef: string
HarRegistry Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HarRegistry resource accepts the following input properties:
- Configs
List<HarRegistry Config> 
- Configuration for the registry
- Identifier string
- Unique identifier of the registry
- PackageType string
- Type of package (DOCKER, HELM, etc.)
- AllowedPatterns List<string>
- Allowed pattern for the registry
- BlockedPatterns List<string>
- Blocked pattern for the registry
- Description string
- Description of the registry
- ParentRef string
- Parent reference for the registry
- SpaceRef string
- Space reference for the registry
- Configs
[]HarRegistry Config Args 
- Configuration for the registry
- Identifier string
- Unique identifier of the registry
- PackageType string
- Type of package (DOCKER, HELM, etc.)
- AllowedPatterns []string
- Allowed pattern for the registry
- BlockedPatterns []string
- Blocked pattern for the registry
- Description string
- Description of the registry
- ParentRef string
- Parent reference for the registry
- SpaceRef string
- Space reference for the registry
- configs
List<HarRegistry Config> 
- Configuration for the registry
- identifier String
- Unique identifier of the registry
- packageType String
- Type of package (DOCKER, HELM, etc.)
- allowedPatterns List<String>
- Allowed pattern for the registry
- blockedPatterns List<String>
- Blocked pattern for the registry
- description String
- Description of the registry
- parentRef String
- Parent reference for the registry
- spaceRef String
- Space reference for the registry
- configs
HarRegistry Config[] 
- Configuration for the registry
- identifier string
- Unique identifier of the registry
- packageType string
- Type of package (DOCKER, HELM, etc.)
- allowedPatterns string[]
- Allowed pattern for the registry
- blockedPatterns string[]
- Blocked pattern for the registry
- description string
- Description of the registry
- parentRef string
- Parent reference for the registry
- spaceRef string
- Space reference for the registry
- configs
Sequence[HarRegistry Config Args] 
- Configuration for the registry
- identifier str
- Unique identifier of the registry
- package_type str
- Type of package (DOCKER, HELM, etc.)
- allowed_patterns Sequence[str]
- Allowed pattern for the registry
- blocked_patterns Sequence[str]
- Blocked pattern for the registry
- description str
- Description of the registry
- parent_ref str
- Parent reference for the registry
- space_ref str
- Space reference for the registry
- configs List<Property Map>
- Configuration for the registry
- identifier String
- Unique identifier of the registry
- packageType String
- Type of package (DOCKER, HELM, etc.)
- allowedPatterns List<String>
- Allowed pattern for the registry
- blockedPatterns List<String>
- Blocked pattern for the registry
- description String
- Description of the registry
- parentRef String
- Parent reference for the registry
- spaceRef String
- Space reference for the registry
Outputs
All input properties are implicitly available as output properties. Additionally, the HarRegistry resource produces the following output properties:
- created_at str
- Timestamp when the registry was created
- id str
- The provider-assigned unique ID for this managed resource.
- url str
- URL of the registry
Look up Existing HarRegistry Resource
Get an existing HarRegistry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: HarRegistryState, opts?: CustomResourceOptions): HarRegistry@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allowed_patterns: Optional[Sequence[str]] = None,
        blocked_patterns: Optional[Sequence[str]] = None,
        configs: Optional[Sequence[HarRegistryConfigArgs]] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        identifier: Optional[str] = None,
        package_type: Optional[str] = None,
        parent_ref: Optional[str] = None,
        space_ref: Optional[str] = None,
        url: Optional[str] = None) -> HarRegistryfunc GetHarRegistry(ctx *Context, name string, id IDInput, state *HarRegistryState, opts ...ResourceOption) (*HarRegistry, error)public static HarRegistry Get(string name, Input<string> id, HarRegistryState? state, CustomResourceOptions? opts = null)public static HarRegistry get(String name, Output<String> id, HarRegistryState state, CustomResourceOptions options)resources:  _:    type: harness:platform:HarRegistry    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AllowedPatterns List<string>
- Allowed pattern for the registry
- BlockedPatterns List<string>
- Blocked pattern for the registry
- Configs
List<HarRegistry Config> 
- Configuration for the registry
- CreatedAt string
- Timestamp when the registry was created
- Description string
- Description of the registry
- Identifier string
- Unique identifier of the registry
- PackageType string
- Type of package (DOCKER, HELM, etc.)
- ParentRef string
- Parent reference for the registry
- SpaceRef string
- Space reference for the registry
- Url string
- URL of the registry
- AllowedPatterns []string
- Allowed pattern for the registry
- BlockedPatterns []string
- Blocked pattern for the registry
- Configs
[]HarRegistry Config Args 
- Configuration for the registry
- CreatedAt string
- Timestamp when the registry was created
- Description string
- Description of the registry
- Identifier string
- Unique identifier of the registry
- PackageType string
- Type of package (DOCKER, HELM, etc.)
- ParentRef string
- Parent reference for the registry
- SpaceRef string
- Space reference for the registry
- Url string
- URL of the registry
- allowedPatterns List<String>
- Allowed pattern for the registry
- blockedPatterns List<String>
- Blocked pattern for the registry
- configs
List<HarRegistry Config> 
- Configuration for the registry
- createdAt String
- Timestamp when the registry was created
- description String
- Description of the registry
- identifier String
- Unique identifier of the registry
- packageType String
- Type of package (DOCKER, HELM, etc.)
- parentRef String
- Parent reference for the registry
- spaceRef String
- Space reference for the registry
- url String
- URL of the registry
- allowedPatterns string[]
- Allowed pattern for the registry
- blockedPatterns string[]
- Blocked pattern for the registry
- configs
HarRegistry Config[] 
- Configuration for the registry
- createdAt string
- Timestamp when the registry was created
- description string
- Description of the registry
- identifier string
- Unique identifier of the registry
- packageType string
- Type of package (DOCKER, HELM, etc.)
- parentRef string
- Parent reference for the registry
- spaceRef string
- Space reference for the registry
- url string
- URL of the registry
- allowed_patterns Sequence[str]
- Allowed pattern for the registry
- blocked_patterns Sequence[str]
- Blocked pattern for the registry
- configs
Sequence[HarRegistry Config Args] 
- Configuration for the registry
- created_at str
- Timestamp when the registry was created
- description str
- Description of the registry
- identifier str
- Unique identifier of the registry
- package_type str
- Type of package (DOCKER, HELM, etc.)
- parent_ref str
- Parent reference for the registry
- space_ref str
- Space reference for the registry
- url str
- URL of the registry
- allowedPatterns List<String>
- Allowed pattern for the registry
- blockedPatterns List<String>
- Blocked pattern for the registry
- configs List<Property Map>
- Configuration for the registry
- createdAt String
- Timestamp when the registry was created
- description String
- Description of the registry
- identifier String
- Unique identifier of the registry
- packageType String
- Type of package (DOCKER, HELM, etc.)
- parentRef String
- Parent reference for the registry
- spaceRef String
- Space reference for the registry
- url String
- URL of the registry
Supporting Types
HarRegistryConfig, HarRegistryConfigArgs      
- Type string
- Type of registry (VIRTUAL or UPSTREAM)
- AuthType string
- Type of authentication for UPSTREAM registry type (UserPassword, Anonymous)
- Auths
List<HarRegistry Config Auth> 
- Authentication configuration for UPSTREAM registry type
- Source string
- Source of the upstream (only for UPSTREAM type)
- UpstreamProxies List<string>
- List of upstream proxies for VIRTUAL registry type
- Url string
- URL of the upstream (required if type=UPSTREAM & package_type=HELM)
- Type string
- Type of registry (VIRTUAL or UPSTREAM)
- AuthType string
- Type of authentication for UPSTREAM registry type (UserPassword, Anonymous)
- Auths
[]HarRegistry Config Auth 
- Authentication configuration for UPSTREAM registry type
- Source string
- Source of the upstream (only for UPSTREAM type)
- UpstreamProxies []string
- List of upstream proxies for VIRTUAL registry type
- Url string
- URL of the upstream (required if type=UPSTREAM & package_type=HELM)
- type String
- Type of registry (VIRTUAL or UPSTREAM)
- authType String
- Type of authentication for UPSTREAM registry type (UserPassword, Anonymous)
- auths
List<HarRegistry Config Auth> 
- Authentication configuration for UPSTREAM registry type
- source String
- Source of the upstream (only for UPSTREAM type)
- upstreamProxies List<String>
- List of upstream proxies for VIRTUAL registry type
- url String
- URL of the upstream (required if type=UPSTREAM & package_type=HELM)
- type string
- Type of registry (VIRTUAL or UPSTREAM)
- authType string
- Type of authentication for UPSTREAM registry type (UserPassword, Anonymous)
- auths
HarRegistry Config Auth[] 
- Authentication configuration for UPSTREAM registry type
- source string
- Source of the upstream (only for UPSTREAM type)
- upstreamProxies string[]
- List of upstream proxies for VIRTUAL registry type
- url string
- URL of the upstream (required if type=UPSTREAM & package_type=HELM)
- type str
- Type of registry (VIRTUAL or UPSTREAM)
- auth_type str
- Type of authentication for UPSTREAM registry type (UserPassword, Anonymous)
- auths
Sequence[HarRegistry Config Auth] 
- Authentication configuration for UPSTREAM registry type
- source str
- Source of the upstream (only for UPSTREAM type)
- upstream_proxies Sequence[str]
- List of upstream proxies for VIRTUAL registry type
- url str
- URL of the upstream (required if type=UPSTREAM & package_type=HELM)
- type String
- Type of registry (VIRTUAL or UPSTREAM)
- authType String
- Type of authentication for UPSTREAM registry type (UserPassword, Anonymous)
- auths List<Property Map>
- Authentication configuration for UPSTREAM registry type
- source String
- Source of the upstream (only for UPSTREAM type)
- upstreamProxies List<String>
- List of upstream proxies for VIRTUAL registry type
- url String
- URL of the upstream (required if type=UPSTREAM & package_type=HELM)
HarRegistryConfigAuth, HarRegistryConfigAuthArgs        
- AuthType string
- Type of authentication (UserPassword, Anonymous)
- SecretIdentifier string
- Secret identifier for UserPassword auth type
- SecretSpace stringPath 
- Secret space path for UserPassword auth type
- UserName string
- User name for UserPassword auth type
- AuthType string
- Type of authentication (UserPassword, Anonymous)
- SecretIdentifier string
- Secret identifier for UserPassword auth type
- SecretSpace stringPath 
- Secret space path for UserPassword auth type
- UserName string
- User name for UserPassword auth type
- authType String
- Type of authentication (UserPassword, Anonymous)
- secretIdentifier String
- Secret identifier for UserPassword auth type
- secretSpace StringPath 
- Secret space path for UserPassword auth type
- userName String
- User name for UserPassword auth type
- authType string
- Type of authentication (UserPassword, Anonymous)
- secretIdentifier string
- Secret identifier for UserPassword auth type
- secretSpace stringPath 
- Secret space path for UserPassword auth type
- userName string
- User name for UserPassword auth type
- auth_type str
- Type of authentication (UserPassword, Anonymous)
- secret_identifier str
- Secret identifier for UserPassword auth type
- secret_space_ strpath 
- Secret space path for UserPassword auth type
- user_name str
- User name for UserPassword auth type
- authType String
- Type of authentication (UserPassword, Anonymous)
- secretIdentifier String
- Secret identifier for UserPassword auth type
- secretSpace StringPath 
- Secret space path for UserPassword auth type
- userName String
- User name for UserPassword auth type
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the harnessTerraform Provider.
