1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. GitOpsRepoCert
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

harness.platform.GitOpsRepoCert

Explore with Pulumi AI

harness logo
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

    Resource for managing a Harness Gitops Repository Certificate. You can only create 1 instance per agent which has all the certificates of this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const example = new harness.platform.GitOpsRepoCert("example", {
        requests: [{
            certificates: [{
                metadatas: [{}],
                items: [{
                    serverName: "github.com",
                    certType: "ssh",
                    certSubType: "ecdsa-sha2-nistp256",
                    certData: "QUFBQUUyVmpaSE5oTFhOb1lUSXRibWx6ZEhBeU5UWUFBQUFJYm1semRIQXlOVFlBQUFCQkJFbUtTRU5qUUVlek9teGtaTXk3b3BLZ3dGQjlua3Q1WVJyWU1qTnVHNU44N3VSZ2c2Q0xyYm81d0FkVC95NnYwbUtWMFUydzBXWjJZQi8rK1Rwb2NrZz0=",
                }],
            }],
            upsert: true,
        }],
        accountId: "account_id",
        agentId: "agent_id",
    });
    
    import pulumi
    import pulumi_harness as harness
    
    example = harness.platform.GitOpsRepoCert("example",
        requests=[{
            "certificates": [{
                "metadatas": [{}],
                "items": [{
                    "server_name": "github.com",
                    "cert_type": "ssh",
                    "cert_sub_type": "ecdsa-sha2-nistp256",
                    "cert_data": "QUFBQUUyVmpaSE5oTFhOb1lUSXRibWx6ZEhBeU5UWUFBQUFJYm1semRIQXlOVFlBQUFCQkJFbUtTRU5qUUVlek9teGtaTXk3b3BLZ3dGQjlua3Q1WVJyWU1qTnVHNU44N3VSZ2c2Q0xyYm81d0FkVC95NnYwbUtWMFUydzBXWjJZQi8rK1Rwb2NrZz0=",
                }],
            }],
            "upsert": True,
        }],
        account_id="account_id",
        agent_id="agent_id")
    
    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 {
    		_, err := platform.NewGitOpsRepoCert(ctx, "example", &platform.GitOpsRepoCertArgs{
    			Requests: platform.GitOpsRepoCertRequestArray{
    				&platform.GitOpsRepoCertRequestArgs{
    					Certificates: platform.GitOpsRepoCertRequestCertificateArray{
    						&platform.GitOpsRepoCertRequestCertificateArgs{
    							Metadatas: platform.GitOpsRepoCertRequestCertificateMetadataArray{
    								&platform.GitOpsRepoCertRequestCertificateMetadataArgs{},
    							},
    							Items: platform.GitOpsRepoCertRequestCertificateItemArray{
    								&platform.GitOpsRepoCertRequestCertificateItemArgs{
    									ServerName:  pulumi.String("github.com"),
    									CertType:    pulumi.String("ssh"),
    									CertSubType: pulumi.String("ecdsa-sha2-nistp256"),
    									CertData:    pulumi.String("QUFBQUUyVmpaSE5oTFhOb1lUSXRibWx6ZEhBeU5UWUFBQUFJYm1semRIQXlOVFlBQUFCQkJFbUtTRU5qUUVlek9teGtaTXk3b3BLZ3dGQjlua3Q1WVJyWU1qTnVHNU44N3VSZ2c2Q0xyYm81d0FkVC95NnYwbUtWMFUydzBXWjJZQi8rK1Rwb2NrZz0="),
    								},
    							},
    						},
    					},
    					Upsert: pulumi.Bool(true),
    				},
    			},
    			AccountId: pulumi.String("account_id"),
    			AgentId:   pulumi.String("agent_id"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Harness.Platform.GitOpsRepoCert("example", new()
        {
            Requests = new[]
            {
                new Harness.Platform.Inputs.GitOpsRepoCertRequestArgs
                {
                    Certificates = new[]
                    {
                        new Harness.Platform.Inputs.GitOpsRepoCertRequestCertificateArgs
                        {
                            Metadatas = new[]
                            {
                                null,
                            },
                            Items = new[]
                            {
                                new Harness.Platform.Inputs.GitOpsRepoCertRequestCertificateItemArgs
                                {
                                    ServerName = "github.com",
                                    CertType = "ssh",
                                    CertSubType = "ecdsa-sha2-nistp256",
                                    CertData = "QUFBQUUyVmpaSE5oTFhOb1lUSXRibWx6ZEhBeU5UWUFBQUFJYm1semRIQXlOVFlBQUFCQkJFbUtTRU5qUUVlek9teGtaTXk3b3BLZ3dGQjlua3Q1WVJyWU1qTnVHNU44N3VSZ2c2Q0xyYm81d0FkVC95NnYwbUtWMFUydzBXWjJZQi8rK1Rwb2NrZz0=",
                                },
                            },
                        },
                    },
                    Upsert = true,
                },
            },
            AccountId = "account_id",
            AgentId = "agent_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.GitOpsRepoCert;
    import com.pulumi.harness.platform.GitOpsRepoCertArgs;
    import com.pulumi.harness.platform.inputs.GitOpsRepoCertRequestArgs;
    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) {
            var example = new GitOpsRepoCert("example", GitOpsRepoCertArgs.builder()
                .requests(GitOpsRepoCertRequestArgs.builder()
                    .certificates(GitOpsRepoCertRequestCertificateArgs.builder()
                        .metadatas()
                        .items(GitOpsRepoCertRequestCertificateItemArgs.builder()
                            .serverName("github.com")
                            .certType("ssh")
                            .certSubType("ecdsa-sha2-nistp256")
                            .certData("QUFBQUUyVmpaSE5oTFhOb1lUSXRibWx6ZEhBeU5UWUFBQUFJYm1semRIQXlOVFlBQUFCQkJFbUtTRU5qUUVlek9teGtaTXk3b3BLZ3dGQjlua3Q1WVJyWU1qTnVHNU44N3VSZ2c2Q0xyYm81d0FkVC95NnYwbUtWMFUydzBXWjJZQi8rK1Rwb2NrZz0=")
                            .build())
                        .build())
                    .upsert(true)
                    .build())
                .accountId("account_id")
                .agentId("agent_id")
                .build());
    
        }
    }
    
    resources:
      example:
        type: harness:platform:GitOpsRepoCert
        properties:
          requests:
            - certificates:
                - metadatas:
                    - {}
                  items:
                    - serverName: github.com
                      certType: ssh
                      certSubType: ecdsa-sha2-nistp256
                      certData: QUFBQUUyVmpaSE5oTFhOb1lUSXRibWx6ZEhBeU5UWUFBQUFJYm1semRIQXlOVFlBQUFCQkJFbUtTRU5qUUVlek9teGtaTXk3b3BLZ3dGQjlua3Q1WVJyWU1qTnVHNU44N3VSZ2c2Q0xyYm81d0FkVC95NnYwbUtWMFUydzBXWjJZQi8rK1Rwb2NrZz0=
              upsert: true
          accountId: account_id
          agentId: agent_id
    

    Create GitOpsRepoCert Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GitOpsRepoCert(name: string, args: GitOpsRepoCertArgs, opts?: CustomResourceOptions);
    @overload
    def GitOpsRepoCert(resource_name: str,
                       args: GitOpsRepoCertArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def GitOpsRepoCert(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_id: Optional[str] = None,
                       agent_id: Optional[str] = None,
                       requests: Optional[Sequence[GitOpsRepoCertRequestArgs]] = None,
                       org_id: Optional[str] = None,
                       project_id: Optional[str] = None)
    func NewGitOpsRepoCert(ctx *Context, name string, args GitOpsRepoCertArgs, opts ...ResourceOption) (*GitOpsRepoCert, error)
    public GitOpsRepoCert(string name, GitOpsRepoCertArgs args, CustomResourceOptions? opts = null)
    public GitOpsRepoCert(String name, GitOpsRepoCertArgs args)
    public GitOpsRepoCert(String name, GitOpsRepoCertArgs args, CustomResourceOptions options)
    
    type: harness:platform:GitOpsRepoCert
    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 GitOpsRepoCertArgs
    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 GitOpsRepoCertArgs
    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 GitOpsRepoCertArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GitOpsRepoCertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GitOpsRepoCertArgs
    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 gitOpsRepoCertResource = new Harness.Platform.GitOpsRepoCert("gitOpsRepoCertResource", new()
    {
        AccountId = "string",
        AgentId = "string",
        Requests = new[]
        {
            new Harness.Platform.Inputs.GitOpsRepoCertRequestArgs
            {
                Certificates = new[]
                {
                    new Harness.Platform.Inputs.GitOpsRepoCertRequestCertificateArgs
                    {
                        Items = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsRepoCertRequestCertificateItemArgs
                            {
                                CertData = "string",
                                CertInfo = "string",
                                CertSubType = "string",
                                CertType = "string",
                                ServerName = "string",
                            },
                        },
                        Metadatas = new[]
                        {
                            new Harness.Platform.Inputs.GitOpsRepoCertRequestCertificateMetadataArgs
                            {
                                Continue = "string",
                                RemainingItemCount = "string",
                                ResourceVersion = "string",
                                SelfLink = "string",
                            },
                        },
                    },
                },
                Upsert = false,
            },
        },
        OrgId = "string",
        ProjectId = "string",
    });
    
    example, err := platform.NewGitOpsRepoCert(ctx, "gitOpsRepoCertResource", &platform.GitOpsRepoCertArgs{
    	AccountId: pulumi.String("string"),
    	AgentId:   pulumi.String("string"),
    	Requests: platform.GitOpsRepoCertRequestArray{
    		&platform.GitOpsRepoCertRequestArgs{
    			Certificates: platform.GitOpsRepoCertRequestCertificateArray{
    				&platform.GitOpsRepoCertRequestCertificateArgs{
    					Items: platform.GitOpsRepoCertRequestCertificateItemArray{
    						&platform.GitOpsRepoCertRequestCertificateItemArgs{
    							CertData:    pulumi.String("string"),
    							CertInfo:    pulumi.String("string"),
    							CertSubType: pulumi.String("string"),
    							CertType:    pulumi.String("string"),
    							ServerName:  pulumi.String("string"),
    						},
    					},
    					Metadatas: platform.GitOpsRepoCertRequestCertificateMetadataArray{
    						&platform.GitOpsRepoCertRequestCertificateMetadataArgs{
    							Continue:           pulumi.String("string"),
    							RemainingItemCount: pulumi.String("string"),
    							ResourceVersion:    pulumi.String("string"),
    							SelfLink:           pulumi.String("string"),
    						},
    					},
    				},
    			},
    			Upsert: pulumi.Bool(false),
    		},
    	},
    	OrgId:     pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    })
    
    var gitOpsRepoCertResource = new GitOpsRepoCert("gitOpsRepoCertResource", GitOpsRepoCertArgs.builder()
        .accountId("string")
        .agentId("string")
        .requests(GitOpsRepoCertRequestArgs.builder()
            .certificates(GitOpsRepoCertRequestCertificateArgs.builder()
                .items(GitOpsRepoCertRequestCertificateItemArgs.builder()
                    .certData("string")
                    .certInfo("string")
                    .certSubType("string")
                    .certType("string")
                    .serverName("string")
                    .build())
                .metadatas(GitOpsRepoCertRequestCertificateMetadataArgs.builder()
                    .continue_("string")
                    .remainingItemCount("string")
                    .resourceVersion("string")
                    .selfLink("string")
                    .build())
                .build())
            .upsert(false)
            .build())
        .orgId("string")
        .projectId("string")
        .build());
    
    git_ops_repo_cert_resource = harness.platform.GitOpsRepoCert("gitOpsRepoCertResource",
        account_id="string",
        agent_id="string",
        requests=[{
            "certificates": [{
                "items": [{
                    "cert_data": "string",
                    "cert_info": "string",
                    "cert_sub_type": "string",
                    "cert_type": "string",
                    "server_name": "string",
                }],
                "metadatas": [{
                    "continue_": "string",
                    "remaining_item_count": "string",
                    "resource_version": "string",
                    "self_link": "string",
                }],
            }],
            "upsert": False,
        }],
        org_id="string",
        project_id="string")
    
    const gitOpsRepoCertResource = new harness.platform.GitOpsRepoCert("gitOpsRepoCertResource", {
        accountId: "string",
        agentId: "string",
        requests: [{
            certificates: [{
                items: [{
                    certData: "string",
                    certInfo: "string",
                    certSubType: "string",
                    certType: "string",
                    serverName: "string",
                }],
                metadatas: [{
                    "continue": "string",
                    remainingItemCount: "string",
                    resourceVersion: "string",
                    selfLink: "string",
                }],
            }],
            upsert: false,
        }],
        orgId: "string",
        projectId: "string",
    });
    
    type: harness:platform:GitOpsRepoCert
    properties:
        accountId: string
        agentId: string
        orgId: string
        projectId: string
        requests:
            - certificates:
                - items:
                    - certData: string
                      certInfo: string
                      certSubType: string
                      certType: string
                      serverName: string
                  metadatas:
                    - continue: string
                      remainingItemCount: string
                      resourceVersion: string
                      selfLink: string
              upsert: false
    

    GitOpsRepoCert 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 GitOpsRepoCert resource accepts the following input properties:

    AccountId string
    Account identifier of the GitOps repository certificate.
    AgentId string
    Agent identifier of the GitOps repository certificate.
    Requests List<GitOpsRepoCertRequest>
    Repository Certificate create/update request.
    OrgId string
    Organization identifier of the GitOps repository certificate.
    ProjectId string
    Project identifier of the GitOps repository certificate.
    AccountId string
    Account identifier of the GitOps repository certificate.
    AgentId string
    Agent identifier of the GitOps repository certificate.
    Requests []GitOpsRepoCertRequestArgs
    Repository Certificate create/update request.
    OrgId string
    Organization identifier of the GitOps repository certificate.
    ProjectId string
    Project identifier of the GitOps repository certificate.
    accountId String
    Account identifier of the GitOps repository certificate.
    agentId String
    Agent identifier of the GitOps repository certificate.
    requests List<GitOpsRepoCertRequest>
    Repository Certificate create/update request.
    orgId String
    Organization identifier of the GitOps repository certificate.
    projectId String
    Project identifier of the GitOps repository certificate.
    accountId string
    Account identifier of the GitOps repository certificate.
    agentId string
    Agent identifier of the GitOps repository certificate.
    requests GitOpsRepoCertRequest[]
    Repository Certificate create/update request.
    orgId string
    Organization identifier of the GitOps repository certificate.
    projectId string
    Project identifier of the GitOps repository certificate.
    account_id str
    Account identifier of the GitOps repository certificate.
    agent_id str
    Agent identifier of the GitOps repository certificate.
    requests Sequence[GitOpsRepoCertRequestArgs]
    Repository Certificate create/update request.
    org_id str
    Organization identifier of the GitOps repository certificate.
    project_id str
    Project identifier of the GitOps repository certificate.
    accountId String
    Account identifier of the GitOps repository certificate.
    agentId String
    Agent identifier of the GitOps repository certificate.
    requests List<Property Map>
    Repository Certificate create/update request.
    orgId String
    Organization identifier of the GitOps repository certificate.
    projectId String
    Project identifier of the GitOps repository certificate.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GitOpsRepoCert resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GitOpsRepoCert Resource

    Get an existing GitOpsRepoCert 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?: GitOpsRepoCertState, opts?: CustomResourceOptions): GitOpsRepoCert
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            agent_id: Optional[str] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            requests: Optional[Sequence[GitOpsRepoCertRequestArgs]] = None) -> GitOpsRepoCert
    func GetGitOpsRepoCert(ctx *Context, name string, id IDInput, state *GitOpsRepoCertState, opts ...ResourceOption) (*GitOpsRepoCert, error)
    public static GitOpsRepoCert Get(string name, Input<string> id, GitOpsRepoCertState? state, CustomResourceOptions? opts = null)
    public static GitOpsRepoCert get(String name, Output<String> id, GitOpsRepoCertState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AccountId string
    Account identifier of the GitOps repository certificate.
    AgentId string
    Agent identifier of the GitOps repository certificate.
    OrgId string
    Organization identifier of the GitOps repository certificate.
    ProjectId string
    Project identifier of the GitOps repository certificate.
    Requests List<GitOpsRepoCertRequest>
    Repository Certificate create/update request.
    AccountId string
    Account identifier of the GitOps repository certificate.
    AgentId string
    Agent identifier of the GitOps repository certificate.
    OrgId string
    Organization identifier of the GitOps repository certificate.
    ProjectId string
    Project identifier of the GitOps repository certificate.
    Requests []GitOpsRepoCertRequestArgs
    Repository Certificate create/update request.
    accountId String
    Account identifier of the GitOps repository certificate.
    agentId String
    Agent identifier of the GitOps repository certificate.
    orgId String
    Organization identifier of the GitOps repository certificate.
    projectId String
    Project identifier of the GitOps repository certificate.
    requests List<GitOpsRepoCertRequest>
    Repository Certificate create/update request.
    accountId string
    Account identifier of the GitOps repository certificate.
    agentId string
    Agent identifier of the GitOps repository certificate.
    orgId string
    Organization identifier of the GitOps repository certificate.
    projectId string
    Project identifier of the GitOps repository certificate.
    requests GitOpsRepoCertRequest[]
    Repository Certificate create/update request.
    account_id str
    Account identifier of the GitOps repository certificate.
    agent_id str
    Agent identifier of the GitOps repository certificate.
    org_id str
    Organization identifier of the GitOps repository certificate.
    project_id str
    Project identifier of the GitOps repository certificate.
    requests Sequence[GitOpsRepoCertRequestArgs]
    Repository Certificate create/update request.
    accountId String
    Account identifier of the GitOps repository certificate.
    agentId String
    Agent identifier of the GitOps repository certificate.
    orgId String
    Organization identifier of the GitOps repository certificate.
    projectId String
    Project identifier of the GitOps repository certificate.
    requests List<Property Map>
    Repository Certificate create/update request.

    Supporting Types

    GitOpsRepoCertRequest, GitOpsRepoCertRequestArgs

    Certificates List<GitOpsRepoCertRequestCertificate>
    certificates details.
    Upsert bool
    Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
    Certificates []GitOpsRepoCertRequestCertificate
    certificates details.
    Upsert bool
    Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
    certificates List<GitOpsRepoCertRequestCertificate>
    certificates details.
    upsert Boolean
    Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
    certificates GitOpsRepoCertRequestCertificate[]
    certificates details.
    upsert boolean
    Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
    certificates Sequence[GitOpsRepoCertRequestCertificate]
    certificates details.
    upsert bool
    Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
    certificates List<Property Map>
    certificates details.
    upsert Boolean
    Indicates if the GitOps repository certificate should be updated if existing and inserted if not.

    GitOpsRepoCertRequestCertificate, GitOpsRepoCertRequestCertificateArgs

    items List<Property Map>
    List of certificates to be processed.
    metadatas List<Property Map>
    metadata details

    GitOpsRepoCertRequestCertificateItem, GitOpsRepoCertRequestCertificateItemArgs

    CertData string
    CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
    CertInfo string
    CertInfo will hold additional certificate info, dependent on the certificate type .
    CertSubType string
    CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
    CertType string
    CertType specifies the type of the certificate - currently one of https or ssh.
    ServerName string
    ServerName specifies the DNS name of the server this certificate is intended.
    CertData string
    CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
    CertInfo string
    CertInfo will hold additional certificate info, dependent on the certificate type .
    CertSubType string
    CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
    CertType string
    CertType specifies the type of the certificate - currently one of https or ssh.
    ServerName string
    ServerName specifies the DNS name of the server this certificate is intended.
    certData String
    CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
    certInfo String
    CertInfo will hold additional certificate info, dependent on the certificate type .
    certSubType String
    CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
    certType String
    CertType specifies the type of the certificate - currently one of https or ssh.
    serverName String
    ServerName specifies the DNS name of the server this certificate is intended.
    certData string
    CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
    certInfo string
    CertInfo will hold additional certificate info, dependent on the certificate type .
    certSubType string
    CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
    certType string
    CertType specifies the type of the certificate - currently one of https or ssh.
    serverName string
    ServerName specifies the DNS name of the server this certificate is intended.
    cert_data str
    CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
    cert_info str
    CertInfo will hold additional certificate info, dependent on the certificate type .
    cert_sub_type str
    CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
    cert_type str
    CertType specifies the type of the certificate - currently one of https or ssh.
    server_name str
    ServerName specifies the DNS name of the server this certificate is intended.
    certData String
    CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
    certInfo String
    CertInfo will hold additional certificate info, dependent on the certificate type .
    certSubType String
    CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
    certType String
    CertType specifies the type of the certificate - currently one of https or ssh.
    serverName String
    ServerName specifies the DNS name of the server this certificate is intended.

    GitOpsRepoCertRequestCertificateMetadata, GitOpsRepoCertRequestCertificateMetadataArgs

    Continue string
    continue may be set if the user set a limit on the number of items returned.
    RemainingItemCount string
    subsequent items in the list.
    ResourceVersion string
    Identifies the server's internal version.
    SelfLink string
    selfLink is a URL representing this object.
    Continue string
    continue may be set if the user set a limit on the number of items returned.
    RemainingItemCount string
    subsequent items in the list.
    ResourceVersion string
    Identifies the server's internal version.
    SelfLink string
    selfLink is a URL representing this object.
    continue_ String
    continue may be set if the user set a limit on the number of items returned.
    remainingItemCount String
    subsequent items in the list.
    resourceVersion String
    Identifies the server's internal version.
    selfLink String
    selfLink is a URL representing this object.
    continue string
    continue may be set if the user set a limit on the number of items returned.
    remainingItemCount string
    subsequent items in the list.
    resourceVersion string
    Identifies the server's internal version.
    selfLink string
    selfLink is a URL representing this object.
    continue_ str
    continue may be set if the user set a limit on the number of items returned.
    remaining_item_count str
    subsequent items in the list.
    resource_version str
    Identifies the server's internal version.
    self_link str
    selfLink is a URL representing this object.
    continue String
    continue may be set if the user set a limit on the number of items returned.
    remainingItemCount String
    subsequent items in the list.
    resourceVersion String
    Identifies the server's internal version.
    selfLink String
    selfLink is a URL representing this object.

    Import

    Import an Account level Gitops Repository Certificate

    $ pulumi import harness:platform/gitOpsRepoCert:GitOpsRepoCert example <repocert_id>
    

    Import an Org level Gitops Repository Certificate

    $ pulumi import harness:platform/gitOpsRepoCert:GitOpsRepoCert example <organization_id>/<repocert_id>
    

    Import a Project level Gitops Repository Certificate

    $ pulumi import harness:platform/gitOpsRepoCert:GitOpsRepoCert example <organization_id>/<project_id>/<repocert_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi