argocd.Repository
Explore with Pulumi AI
Manages repositories within ArgoCD.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as argocd from "@three14/pulumi-argocd";
// Public Helm repository
const publicNginxHelm = new argocd.Repository("public_nginx_helm", {
    repo: "https://helm.nginx.com/stable",
    name: "nginx-stable",
    type: "helm",
});
// Public Git repository
const publicGit = new argocd.Repository("public_git", {repo: "git@github.com:user/somerepo.git"});
// Private Git repository
const _private = new argocd.Repository("private", {
    repo: "git@private-git-repository.local:somerepo.git",
    username: "git",
    sshPrivateKey: `-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY-----`,
    insecure: true,
});
import pulumi
import pulumi_argocd as argocd
# Public Helm repository
public_nginx_helm = argocd.Repository("public_nginx_helm",
    repo="https://helm.nginx.com/stable",
    name="nginx-stable",
    type="helm")
# Public Git repository
public_git = argocd.Repository("public_git", repo="git@github.com:user/somerepo.git")
# Private Git repository
private = argocd.Repository("private",
    repo="git@private-git-repository.local:somerepo.git",
    username="git",
    ssh_private_key="""-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY-----""",
    insecure=True)
package main
import (
	"github.com/Three141/pulumi-argocd/sdk/go/argocd"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Public Helm repository
		_, err := argocd.NewRepository(ctx, "public_nginx_helm", &argocd.RepositoryArgs{
			Repo: pulumi.String("https://helm.nginx.com/stable"),
			Name: pulumi.String("nginx-stable"),
			Type: pulumi.String("helm"),
		})
		if err != nil {
			return err
		}
		// Public Git repository
		_, err = argocd.NewRepository(ctx, "public_git", &argocd.RepositoryArgs{
			Repo: pulumi.String("git@github.com:user/somerepo.git"),
		})
		if err != nil {
			return err
		}
		// Private Git repository
		_, err = argocd.NewRepository(ctx, "private", &argocd.RepositoryArgs{
			Repo:          pulumi.String("git@private-git-repository.local:somerepo.git"),
			Username:      pulumi.String("git"),
			SshPrivateKey: pulumi.String("-----BEGIN OPENSSH PRIVATE KEY-----\nfoo\nbar\n-----END OPENSSH PRIVATE KEY-----"),
			Insecure:      pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Argocd = Three14.Argocd;
return await Deployment.RunAsync(() => 
{
    // Public Helm repository
    var publicNginxHelm = new Argocd.Repository("public_nginx_helm", new()
    {
        Repo = "https://helm.nginx.com/stable",
        Name = "nginx-stable",
        Type = "helm",
    });
    // Public Git repository
    var publicGit = new Argocd.Repository("public_git", new()
    {
        Repo = "git@github.com:user/somerepo.git",
    });
    // Private Git repository
    var @private = new Argocd.Repository("private", new()
    {
        Repo = "git@private-git-repository.local:somerepo.git",
        Username = "git",
        SshPrivateKey = @"-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY-----",
        Insecure = true,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.argocd.Repository;
import com.pulumi.argocd.RepositoryArgs;
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) {
        // Public Helm repository
        var publicNginxHelm = new Repository("publicNginxHelm", RepositoryArgs.builder()
            .repo("https://helm.nginx.com/stable")
            .name("nginx-stable")
            .type("helm")
            .build());
        // Public Git repository
        var publicGit = new Repository("publicGit", RepositoryArgs.builder()
            .repo("git@github.com:user/somerepo.git")
            .build());
        // Private Git repository
        var private_ = new Repository("private", RepositoryArgs.builder()
            .repo("git@private-git-repository.local:somerepo.git")
            .username("git")
            .sshPrivateKey("""
-----BEGIN OPENSSH PRIVATE KEY-----
foo
bar
-----END OPENSSH PRIVATE KEY-----            """)
            .insecure(true)
            .build());
    }
}
resources:
  # Public Helm repository
  publicNginxHelm:
    type: argocd:Repository
    name: public_nginx_helm
    properties:
      repo: https://helm.nginx.com/stable
      name: nginx-stable
      type: helm
  # Public Git repository
  publicGit:
    type: argocd:Repository
    name: public_git
    properties:
      repo: git@github.com:user/somerepo.git
  # Private Git repository
  private:
    type: argocd:Repository
    properties:
      repo: git@private-git-repository.local:somerepo.git
      username: git
      sshPrivateKey: |-
        -----BEGIN OPENSSH PRIVATE KEY-----
        foo
        bar
        -----END OPENSSH PRIVATE KEY-----        
      insecure: true
Create Repository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Repository(name: string, args: RepositoryArgs, opts?: CustomResourceOptions);@overload
def Repository(resource_name: str,
               args: RepositoryArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def Repository(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               repo: Optional[str] = None,
               password: Optional[str] = None,
               ssh_private_key: Optional[str] = None,
               githubapp_id: Optional[str] = None,
               githubapp_installation_id: Optional[str] = None,
               githubapp_private_key: Optional[str] = None,
               insecure: Optional[bool] = None,
               githubapp_enterprise_base_url: Optional[str] = None,
               project: Optional[str] = None,
               name: Optional[str] = None,
               enable_oci: Optional[bool] = None,
               enable_lfs: Optional[bool] = None,
               tls_client_cert_data: Optional[str] = None,
               tls_client_cert_key: Optional[str] = None,
               type: Optional[str] = None,
               username: Optional[str] = None)func NewRepository(ctx *Context, name string, args RepositoryArgs, opts ...ResourceOption) (*Repository, error)public Repository(string name, RepositoryArgs args, CustomResourceOptions? opts = null)
public Repository(String name, RepositoryArgs args)
public Repository(String name, RepositoryArgs args, CustomResourceOptions options)
type: argocd:Repository
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 RepositoryArgs
- 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 RepositoryArgs
- 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 RepositoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RepositoryArgs
- 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 repositoryResource = new Argocd.Repository("repositoryResource", new()
{
    Repo = "string",
    Password = "string",
    SshPrivateKey = "string",
    GithubappId = "string",
    GithubappInstallationId = "string",
    GithubappPrivateKey = "string",
    Insecure = false,
    GithubappEnterpriseBaseUrl = "string",
    Project = "string",
    Name = "string",
    EnableOci = false,
    EnableLfs = false,
    TlsClientCertData = "string",
    TlsClientCertKey = "string",
    Type = "string",
    Username = "string",
});
example, err := argocd.NewRepository(ctx, "repositoryResource", &argocd.RepositoryArgs{
	Repo:                       pulumi.String("string"),
	Password:                   pulumi.String("string"),
	SshPrivateKey:              pulumi.String("string"),
	GithubappId:                pulumi.String("string"),
	GithubappInstallationId:    pulumi.String("string"),
	GithubappPrivateKey:        pulumi.String("string"),
	Insecure:                   pulumi.Bool(false),
	GithubappEnterpriseBaseUrl: pulumi.String("string"),
	Project:                    pulumi.String("string"),
	Name:                       pulumi.String("string"),
	EnableOci:                  pulumi.Bool(false),
	EnableLfs:                  pulumi.Bool(false),
	TlsClientCertData:          pulumi.String("string"),
	TlsClientCertKey:           pulumi.String("string"),
	Type:                       pulumi.String("string"),
	Username:                   pulumi.String("string"),
})
var repositoryResource = new Repository("repositoryResource", RepositoryArgs.builder()
    .repo("string")
    .password("string")
    .sshPrivateKey("string")
    .githubappId("string")
    .githubappInstallationId("string")
    .githubappPrivateKey("string")
    .insecure(false)
    .githubappEnterpriseBaseUrl("string")
    .project("string")
    .name("string")
    .enableOci(false)
    .enableLfs(false)
    .tlsClientCertData("string")
    .tlsClientCertKey("string")
    .type("string")
    .username("string")
    .build());
repository_resource = argocd.Repository("repositoryResource",
    repo="string",
    password="string",
    ssh_private_key="string",
    githubapp_id="string",
    githubapp_installation_id="string",
    githubapp_private_key="string",
    insecure=False,
    githubapp_enterprise_base_url="string",
    project="string",
    name="string",
    enable_oci=False,
    enable_lfs=False,
    tls_client_cert_data="string",
    tls_client_cert_key="string",
    type="string",
    username="string")
const repositoryResource = new argocd.Repository("repositoryResource", {
    repo: "string",
    password: "string",
    sshPrivateKey: "string",
    githubappId: "string",
    githubappInstallationId: "string",
    githubappPrivateKey: "string",
    insecure: false,
    githubappEnterpriseBaseUrl: "string",
    project: "string",
    name: "string",
    enableOci: false,
    enableLfs: false,
    tlsClientCertData: "string",
    tlsClientCertKey: "string",
    type: "string",
    username: "string",
});
type: argocd:Repository
properties:
    enableLfs: false
    enableOci: false
    githubappEnterpriseBaseUrl: string
    githubappId: string
    githubappInstallationId: string
    githubappPrivateKey: string
    insecure: false
    name: string
    password: string
    project: string
    repo: string
    sshPrivateKey: string
    tlsClientCertData: string
    tlsClientCertKey: string
    type: string
    username: string
Repository 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 Repository resource accepts the following input properties:
- Repo string
- URL of the repository.
- EnableLfs bool
- Whether git-lfssupport should be enabled for this repository.
- EnableOci bool
- Whether helm-ocisupport should be enabled for this repository.
- GithubappEnterprise stringBase Url 
- GitHub API URL for GitHub app authentication.
- GithubappId string
- ID of the GitHub app used to access the repo.
- GithubappInstallation stringId 
- The installation ID of the GitHub App used to access the repo.
- GithubappPrivate stringKey 
- Private key data (PEM) for authentication via GitHub app.
- Insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT used for authenticating at the remote repository.
- Project string
- The project name, in case the repository is project scoped.
- SshPrivate stringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- TlsClient stringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- TlsClient stringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- Type string
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- Username string
- Username used for authenticating at the remote repository.
- Repo string
- URL of the repository.
- EnableLfs bool
- Whether git-lfssupport should be enabled for this repository.
- EnableOci bool
- Whether helm-ocisupport should be enabled for this repository.
- GithubappEnterprise stringBase Url 
- GitHub API URL for GitHub app authentication.
- GithubappId string
- ID of the GitHub app used to access the repo.
- GithubappInstallation stringId 
- The installation ID of the GitHub App used to access the repo.
- GithubappPrivate stringKey 
- Private key data (PEM) for authentication via GitHub app.
- Insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT used for authenticating at the remote repository.
- Project string
- The project name, in case the repository is project scoped.
- SshPrivate stringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- TlsClient stringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- TlsClient stringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- Type string
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- Username string
- Username used for authenticating at the remote repository.
- repo String
- URL of the repository.
- enableLfs Boolean
- Whether git-lfssupport should be enabled for this repository.
- enableOci Boolean
- Whether helm-ocisupport should be enabled for this repository.
- githubappEnterprise StringBase Url 
- GitHub API URL for GitHub app authentication.
- githubappId String
- ID of the GitHub app used to access the repo.
- githubappInstallation StringId 
- The installation ID of the GitHub App used to access the repo.
- githubappPrivate StringKey 
- Private key data (PEM) for authentication via GitHub app.
- insecure Boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT used for authenticating at the remote repository.
- project String
- The project name, in case the repository is project scoped.
- sshPrivate StringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- tlsClient StringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- tlsClient StringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- type String
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- username String
- Username used for authenticating at the remote repository.
- repo string
- URL of the repository.
- enableLfs boolean
- Whether git-lfssupport should be enabled for this repository.
- enableOci boolean
- Whether helm-ocisupport should be enabled for this repository.
- githubappEnterprise stringBase Url 
- GitHub API URL for GitHub app authentication.
- githubappId string
- ID of the GitHub app used to access the repo.
- githubappInstallation stringId 
- The installation ID of the GitHub App used to access the repo.
- githubappPrivate stringKey 
- Private key data (PEM) for authentication via GitHub app.
- insecure boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name string
- Name to be used for this repo. Only used with Helm repos.
- password string
- Password or PAT used for authenticating at the remote repository.
- project string
- The project name, in case the repository is project scoped.
- sshPrivate stringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- tlsClient stringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- tlsClient stringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- type string
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- username string
- Username used for authenticating at the remote repository.
- repo str
- URL of the repository.
- enable_lfs bool
- Whether git-lfssupport should be enabled for this repository.
- enable_oci bool
- Whether helm-ocisupport should be enabled for this repository.
- githubapp_enterprise_ strbase_ url 
- GitHub API URL for GitHub app authentication.
- githubapp_id str
- ID of the GitHub app used to access the repo.
- githubapp_installation_ strid 
- The installation ID of the GitHub App used to access the repo.
- githubapp_private_ strkey 
- Private key data (PEM) for authentication via GitHub app.
- insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name str
- Name to be used for this repo. Only used with Helm repos.
- password str
- Password or PAT used for authenticating at the remote repository.
- project str
- The project name, in case the repository is project scoped.
- ssh_private_ strkey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- tls_client_ strcert_ data 
- TLS client certificate in PEM format for authenticating at the repo server.
- tls_client_ strcert_ key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- type str
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- username str
- Username used for authenticating at the remote repository.
- repo String
- URL of the repository.
- enableLfs Boolean
- Whether git-lfssupport should be enabled for this repository.
- enableOci Boolean
- Whether helm-ocisupport should be enabled for this repository.
- githubappEnterprise StringBase Url 
- GitHub API URL for GitHub app authentication.
- githubappId String
- ID of the GitHub app used to access the repo.
- githubappInstallation StringId 
- The installation ID of the GitHub App used to access the repo.
- githubappPrivate StringKey 
- Private key data (PEM) for authentication via GitHub app.
- insecure Boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT used for authenticating at the remote repository.
- project String
- The project name, in case the repository is project scoped.
- sshPrivate StringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- tlsClient StringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- tlsClient StringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- type String
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- username String
- Username used for authenticating at the remote repository.
Outputs
All input properties are implicitly available as output properties. Additionally, the Repository resource produces the following output properties:
- ConnectionState stringStatus 
- Contains information about the current state of connection to the repository server.
- Id string
- The provider-assigned unique ID for this managed resource.
- InheritedCreds bool
- Whether credentials were inherited from a credential set.
- ConnectionState stringStatus 
- Contains information about the current state of connection to the repository server.
- Id string
- The provider-assigned unique ID for this managed resource.
- InheritedCreds bool
- Whether credentials were inherited from a credential set.
- connectionState StringStatus 
- Contains information about the current state of connection to the repository server.
- id String
- The provider-assigned unique ID for this managed resource.
- inheritedCreds Boolean
- Whether credentials were inherited from a credential set.
- connectionState stringStatus 
- Contains information about the current state of connection to the repository server.
- id string
- The provider-assigned unique ID for this managed resource.
- inheritedCreds boolean
- Whether credentials were inherited from a credential set.
- connection_state_ strstatus 
- Contains information about the current state of connection to the repository server.
- id str
- The provider-assigned unique ID for this managed resource.
- inherited_creds bool
- Whether credentials were inherited from a credential set.
- connectionState StringStatus 
- Contains information about the current state of connection to the repository server.
- id String
- The provider-assigned unique ID for this managed resource.
- inheritedCreds Boolean
- Whether credentials were inherited from a credential set.
Look up Existing Repository Resource
Get an existing Repository 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?: RepositoryState, opts?: CustomResourceOptions): Repository@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        connection_state_status: Optional[str] = None,
        enable_lfs: Optional[bool] = None,
        enable_oci: Optional[bool] = None,
        githubapp_enterprise_base_url: Optional[str] = None,
        githubapp_id: Optional[str] = None,
        githubapp_installation_id: Optional[str] = None,
        githubapp_private_key: Optional[str] = None,
        inherited_creds: Optional[bool] = None,
        insecure: Optional[bool] = None,
        name: Optional[str] = None,
        password: Optional[str] = None,
        project: Optional[str] = None,
        repo: Optional[str] = None,
        ssh_private_key: Optional[str] = None,
        tls_client_cert_data: Optional[str] = None,
        tls_client_cert_key: Optional[str] = None,
        type: Optional[str] = None,
        username: Optional[str] = None) -> Repositoryfunc GetRepository(ctx *Context, name string, id IDInput, state *RepositoryState, opts ...ResourceOption) (*Repository, error)public static Repository Get(string name, Input<string> id, RepositoryState? state, CustomResourceOptions? opts = null)public static Repository get(String name, Output<String> id, RepositoryState state, CustomResourceOptions options)resources:  _:    type: argocd:Repository    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.
- ConnectionState stringStatus 
- Contains information about the current state of connection to the repository server.
- EnableLfs bool
- Whether git-lfssupport should be enabled for this repository.
- EnableOci bool
- Whether helm-ocisupport should be enabled for this repository.
- GithubappEnterprise stringBase Url 
- GitHub API URL for GitHub app authentication.
- GithubappId string
- ID of the GitHub app used to access the repo.
- GithubappInstallation stringId 
- The installation ID of the GitHub App used to access the repo.
- GithubappPrivate stringKey 
- Private key data (PEM) for authentication via GitHub app.
- InheritedCreds bool
- Whether credentials were inherited from a credential set.
- Insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT used for authenticating at the remote repository.
- Project string
- The project name, in case the repository is project scoped.
- Repo string
- URL of the repository.
- SshPrivate stringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- TlsClient stringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- TlsClient stringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- Type string
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- Username string
- Username used for authenticating at the remote repository.
- ConnectionState stringStatus 
- Contains information about the current state of connection to the repository server.
- EnableLfs bool
- Whether git-lfssupport should be enabled for this repository.
- EnableOci bool
- Whether helm-ocisupport should be enabled for this repository.
- GithubappEnterprise stringBase Url 
- GitHub API URL for GitHub app authentication.
- GithubappId string
- ID of the GitHub app used to access the repo.
- GithubappInstallation stringId 
- The installation ID of the GitHub App used to access the repo.
- GithubappPrivate stringKey 
- Private key data (PEM) for authentication via GitHub app.
- InheritedCreds bool
- Whether credentials were inherited from a credential set.
- Insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- Name string
- Name to be used for this repo. Only used with Helm repos.
- Password string
- Password or PAT used for authenticating at the remote repository.
- Project string
- The project name, in case the repository is project scoped.
- Repo string
- URL of the repository.
- SshPrivate stringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- TlsClient stringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- TlsClient stringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- Type string
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- Username string
- Username used for authenticating at the remote repository.
- connectionState StringStatus 
- Contains information about the current state of connection to the repository server.
- enableLfs Boolean
- Whether git-lfssupport should be enabled for this repository.
- enableOci Boolean
- Whether helm-ocisupport should be enabled for this repository.
- githubappEnterprise StringBase Url 
- GitHub API URL for GitHub app authentication.
- githubappId String
- ID of the GitHub app used to access the repo.
- githubappInstallation StringId 
- The installation ID of the GitHub App used to access the repo.
- githubappPrivate StringKey 
- Private key data (PEM) for authentication via GitHub app.
- inheritedCreds Boolean
- Whether credentials were inherited from a credential set.
- insecure Boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT used for authenticating at the remote repository.
- project String
- The project name, in case the repository is project scoped.
- repo String
- URL of the repository.
- sshPrivate StringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- tlsClient StringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- tlsClient StringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- type String
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- username String
- Username used for authenticating at the remote repository.
- connectionState stringStatus 
- Contains information about the current state of connection to the repository server.
- enableLfs boolean
- Whether git-lfssupport should be enabled for this repository.
- enableOci boolean
- Whether helm-ocisupport should be enabled for this repository.
- githubappEnterprise stringBase Url 
- GitHub API URL for GitHub app authentication.
- githubappId string
- ID of the GitHub app used to access the repo.
- githubappInstallation stringId 
- The installation ID of the GitHub App used to access the repo.
- githubappPrivate stringKey 
- Private key data (PEM) for authentication via GitHub app.
- inheritedCreds boolean
- Whether credentials were inherited from a credential set.
- insecure boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name string
- Name to be used for this repo. Only used with Helm repos.
- password string
- Password or PAT used for authenticating at the remote repository.
- project string
- The project name, in case the repository is project scoped.
- repo string
- URL of the repository.
- sshPrivate stringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- tlsClient stringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- tlsClient stringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- type string
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- username string
- Username used for authenticating at the remote repository.
- connection_state_ strstatus 
- Contains information about the current state of connection to the repository server.
- enable_lfs bool
- Whether git-lfssupport should be enabled for this repository.
- enable_oci bool
- Whether helm-ocisupport should be enabled for this repository.
- githubapp_enterprise_ strbase_ url 
- GitHub API URL for GitHub app authentication.
- githubapp_id str
- ID of the GitHub app used to access the repo.
- githubapp_installation_ strid 
- The installation ID of the GitHub App used to access the repo.
- githubapp_private_ strkey 
- Private key data (PEM) for authentication via GitHub app.
- inherited_creds bool
- Whether credentials were inherited from a credential set.
- insecure bool
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name str
- Name to be used for this repo. Only used with Helm repos.
- password str
- Password or PAT used for authenticating at the remote repository.
- project str
- The project name, in case the repository is project scoped.
- repo str
- URL of the repository.
- ssh_private_ strkey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- tls_client_ strcert_ data 
- TLS client certificate in PEM format for authenticating at the repo server.
- tls_client_ strcert_ key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- type str
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- username str
- Username used for authenticating at the remote repository.
- connectionState StringStatus 
- Contains information about the current state of connection to the repository server.
- enableLfs Boolean
- Whether git-lfssupport should be enabled for this repository.
- enableOci Boolean
- Whether helm-ocisupport should be enabled for this repository.
- githubappEnterprise StringBase Url 
- GitHub API URL for GitHub app authentication.
- githubappId String
- ID of the GitHub app used to access the repo.
- githubappInstallation StringId 
- The installation ID of the GitHub App used to access the repo.
- githubappPrivate StringKey 
- Private key data (PEM) for authentication via GitHub app.
- inheritedCreds Boolean
- Whether credentials were inherited from a credential set.
- insecure Boolean
- Whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys.
- name String
- Name to be used for this repo. Only used with Helm repos.
- password String
- Password or PAT used for authenticating at the remote repository.
- project String
- The project name, in case the repository is project scoped.
- repo String
- URL of the repository.
- sshPrivate StringKey 
- PEM data for authenticating at the repo server. Only used with Git repos.
- tlsClient StringCert Data 
- TLS client certificate in PEM format for authenticating at the repo server.
- tlsClient StringCert Key 
- TLS client certificate private key in PEM format for authenticating at the repo server.
- type String
- Type of the repo. Can be either gitorhelm.gitis assumed if empty or absent.
- username String
- Username used for authenticating at the remote repository.
Import
Repositories can be imported using the repository URL.
Note: as the ArgoCD API does not return any sensitive information, a
subsequent pulumi up should be executed to make the password,
ssh_private_key and tls_client_cert_key attributes converge to their
expected values defined within the plan.
Example:
$ pulumi import argocd:index/repository:Repository myrepo git@private-git-repository.local:somerepo.git
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- argocd Three141/pulumi-argocd
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the argocdTerraform Provider.
