harness.platform.GitOpsRepoCert
Explore with Pulumi AI
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:
- Account
Id string - Account identifier of the GitOps repository certificate.
- Agent
Id string - Agent identifier of the GitOps repository certificate.
- Requests
List<Git
Ops Repo Cert Request> - Repository Certificate create/update request.
- Org
Id string - Organization identifier of the GitOps repository certificate.
- Project
Id string - Project identifier of the GitOps repository certificate.
- Account
Id string - Account identifier of the GitOps repository certificate.
- Agent
Id string - Agent identifier of the GitOps repository certificate.
- Requests
[]Git
Ops Repo Cert Request Args - Repository Certificate create/update request.
- Org
Id string - Organization identifier of the GitOps repository certificate.
- Project
Id string - Project identifier of the GitOps repository certificate.
- account
Id String - Account identifier of the GitOps repository certificate.
- agent
Id String - Agent identifier of the GitOps repository certificate.
- requests
List<Git
Ops Repo Cert Request> - Repository Certificate create/update request.
- org
Id String - Organization identifier of the GitOps repository certificate.
- project
Id String - Project identifier of the GitOps repository certificate.
- account
Id string - Account identifier of the GitOps repository certificate.
- agent
Id string - Agent identifier of the GitOps repository certificate.
- requests
Git
Ops Repo Cert Request[] - Repository Certificate create/update request.
- org
Id string - Organization identifier of the GitOps repository certificate.
- project
Id 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[Git
Ops Repo Cert Request Args] - 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.
- account
Id String - Account identifier of the GitOps repository certificate.
- agent
Id String - Agent identifier of the GitOps repository certificate.
- requests List<Property Map>
- Repository Certificate create/update request.
- org
Id String - Organization identifier of the GitOps repository certificate.
- project
Id 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.
- Account
Id string - Account identifier of the GitOps repository certificate.
- Agent
Id string - Agent identifier of the GitOps repository certificate.
- Org
Id string - Organization identifier of the GitOps repository certificate.
- Project
Id string - Project identifier of the GitOps repository certificate.
- Requests
List<Git
Ops Repo Cert Request> - Repository Certificate create/update request.
- Account
Id string - Account identifier of the GitOps repository certificate.
- Agent
Id string - Agent identifier of the GitOps repository certificate.
- Org
Id string - Organization identifier of the GitOps repository certificate.
- Project
Id string - Project identifier of the GitOps repository certificate.
- Requests
[]Git
Ops Repo Cert Request Args - Repository Certificate create/update request.
- account
Id String - Account identifier of the GitOps repository certificate.
- agent
Id String - Agent identifier of the GitOps repository certificate.
- org
Id String - Organization identifier of the GitOps repository certificate.
- project
Id String - Project identifier of the GitOps repository certificate.
- requests
List<Git
Ops Repo Cert Request> - Repository Certificate create/update request.
- account
Id string - Account identifier of the GitOps repository certificate.
- agent
Id string - Agent identifier of the GitOps repository certificate.
- org
Id string - Organization identifier of the GitOps repository certificate.
- project
Id string - Project identifier of the GitOps repository certificate.
- requests
Git
Ops Repo Cert Request[] - 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[Git
Ops Repo Cert Request Args] - Repository Certificate create/update request.
- account
Id String - Account identifier of the GitOps repository certificate.
- agent
Id String - Agent identifier of the GitOps repository certificate.
- org
Id String - Organization identifier of the GitOps repository certificate.
- project
Id String - Project identifier of the GitOps repository certificate.
- requests List<Property Map>
- Repository Certificate create/update request.
Supporting Types
GitOpsRepoCertRequest, GitOpsRepoCertRequestArgs
- Certificates
List<Git
Ops Repo Cert Request Certificate> - certificates details.
- Upsert bool
- Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
- Certificates
[]Git
Ops Repo Cert Request Certificate - certificates details.
- Upsert bool
- Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
- certificates
List<Git
Ops Repo Cert Request Certificate> - certificates details.
- upsert Boolean
- Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
- certificates
Git
Ops Repo Cert Request Certificate[] - certificates details.
- upsert boolean
- Indicates if the GitOps repository certificate should be updated if existing and inserted if not.
- certificates
Sequence[Git
Ops Repo Cert Request Certificate] - 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<Git
Ops Repo Cert Request Certificate Item> - List of certificates to be processed.
- Metadatas
List<Git
Ops Repo Cert Request Certificate Metadata> - metadata details
- Items
[]Git
Ops Repo Cert Request Certificate Item - List of certificates to be processed.
- Metadatas
[]Git
Ops Repo Cert Request Certificate Metadata - metadata details
- items
List<Git
Ops Repo Cert Request Certificate Item> - List of certificates to be processed.
- metadatas
List<Git
Ops Repo Cert Request Certificate Metadata> - metadata details
- items
Git
Ops Repo Cert Request Certificate Item[] - List of certificates to be processed.
- metadatas
Git
Ops Repo Cert Request Certificate Metadata[] - metadata details
- items
Sequence[Git
Ops Repo Cert Request Certificate Item] - List of certificates to be processed.
- metadatas
Sequence[Git
Ops Repo Cert Request Certificate Metadata] - metadata details
- items List<Property Map>
- List of certificates to be processed.
- metadatas List<Property Map>
- metadata details
GitOpsRepoCertRequestCertificateItem, GitOpsRepoCertRequestCertificateItemArgs
- Cert
Data string - CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
- Cert
Info string - CertInfo will hold additional certificate info, dependent on the certificate type .
- Cert
Sub stringType - CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
- Cert
Type string - CertType specifies the type of the certificate - currently one of https or ssh.
- Server
Name string - ServerName specifies the DNS name of the server this certificate is intended.
- Cert
Data string - CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
- Cert
Info string - CertInfo will hold additional certificate info, dependent on the certificate type .
- Cert
Sub stringType - CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
- Cert
Type string - CertType specifies the type of the certificate - currently one of https or ssh.
- Server
Name string - ServerName specifies the DNS name of the server this certificate is intended.
- cert
Data String - CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
- cert
Info String - CertInfo will hold additional certificate info, dependent on the certificate type .
- cert
Sub StringType - CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
- cert
Type String - CertType specifies the type of the certificate - currently one of https or ssh.
- server
Name String - ServerName specifies the DNS name of the server this certificate is intended.
- cert
Data string - CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
- cert
Info string - CertInfo will hold additional certificate info, dependent on the certificate type .
- cert
Sub stringType - CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
- cert
Type string - CertType specifies the type of the certificate - currently one of https or ssh.
- server
Name 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_ strtype - 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.
- cert
Data String - CertData contains the actual certificate data, dependent on the certificate type. The value should be base64 encoded
- cert
Info String - CertInfo will hold additional certificate info, dependent on the certificate type .
- cert
Sub StringType - CertSubType specifies the sub type of the cert, i.e. ssh-rsa.
- cert
Type String - CertType specifies the type of the certificate - currently one of https or ssh.
- server
Name 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.
- Remaining
Item stringCount - subsequent items in the list.
- Resource
Version string - Identifies the server's internal version.
- Self
Link 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.
- Remaining
Item stringCount - subsequent items in the list.
- Resource
Version string - Identifies the server's internal version.
- Self
Link 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.
- remaining
Item StringCount - subsequent items in the list.
- resource
Version String - Identifies the server's internal version.
- self
Link 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.
- remaining
Item stringCount - subsequent items in the list.
- resource
Version string - Identifies the server's internal version.
- self
Link 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_ strcount - 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.
- remaining
Item StringCount - subsequent items in the list.
- resource
Version String - Identifies the server's internal version.
- self
Link 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.