1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apigee
  5. KeystoresAliasesSelfSignedCert
Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi

gcp.apigee.KeystoresAliasesSelfSignedCert

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi

    An Environment Keystore Alias for Self Signed Certificate Format in Apigee

    To get more information about KeystoresAliasesSelfSignedCert, see:

    Example Usage

    Apigee Env Keystore Alias Self Signed Cert

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = new gcp.organizations.Project("project", {
        projectId: "my-project",
        name: "my-project",
        orgId: "123456789",
        billingAccount: "000000-0000000-0000000-000000",
    });
    const apigee = new gcp.projects.Service("apigee", {
        project: project.projectId,
        service: "apigee.googleapis.com",
    });
    const servicenetworking = new gcp.projects.Service("servicenetworking", {
        project: project.projectId,
        service: "servicenetworking.googleapis.com",
    });
    const compute = new gcp.projects.Service("compute", {
        project: project.projectId,
        service: "compute.googleapis.com",
    });
    const apigeeNetwork = new gcp.compute.Network("apigee_network", {
        name: "apigee-network",
        project: project.projectId,
    });
    const apigeeRange = new gcp.compute.GlobalAddress("apigee_range", {
        name: "apigee-range",
        purpose: "VPC_PEERING",
        addressType: "INTERNAL",
        prefixLength: 16,
        network: apigeeNetwork.id,
        project: project.projectId,
    });
    const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigee_vpc_connection", {
        network: apigeeNetwork.id,
        service: "servicenetworking.googleapis.com",
        reservedPeeringRanges: [apigeeRange.name],
    });
    const apigeeOrg = new gcp.apigee.Organization("apigee_org", {
        analyticsRegion: "us-central1",
        projectId: project.projectId,
        authorizedNetwork: apigeeNetwork.id,
    });
    const apigeeEnvironmentKeystoreSsAlias = new gcp.apigee.Environment("apigee_environment_keystore_ss_alias", {
        orgId: apigeeOrg.id,
        name: "env-name",
        description: "Apigee Environment",
        displayName: "environment-1",
    });
    const apigeeEnvironmentKeystoreAlias = new gcp.apigee.EnvKeystore("apigee_environment_keystore_alias", {
        name: "env-keystore",
        envId: apigeeEnvironmentKeystoreSsAlias.id,
    });
    const apigeeEnvironmentKeystoreSsAliasKeystoresAliasesSelfSignedCert = new gcp.apigee.KeystoresAliasesSelfSignedCert("apigee_environment_keystore_ss_alias", {
        environment: apigeeEnvironmentKeystoreSsAlias.name,
        orgId: apigeeOrg.name,
        keystore: apigeeEnvironmentKeystoreAlias.name,
        alias: "alias",
        keySize: "1024",
        sigAlg: "SHA512withRSA",
        certValidityInDays: 4,
        subject: {
            commonName: "selfsigned_example",
            countryCode: "US",
            locality: "TX",
            org: "CCE",
            orgUnit: "PSO",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.Project("project",
        project_id="my-project",
        name="my-project",
        org_id="123456789",
        billing_account="000000-0000000-0000000-000000")
    apigee = gcp.projects.Service("apigee",
        project=project.project_id,
        service="apigee.googleapis.com")
    servicenetworking = gcp.projects.Service("servicenetworking",
        project=project.project_id,
        service="servicenetworking.googleapis.com")
    compute = gcp.projects.Service("compute",
        project=project.project_id,
        service="compute.googleapis.com")
    apigee_network = gcp.compute.Network("apigee_network",
        name="apigee-network",
        project=project.project_id)
    apigee_range = gcp.compute.GlobalAddress("apigee_range",
        name="apigee-range",
        purpose="VPC_PEERING",
        address_type="INTERNAL",
        prefix_length=16,
        network=apigee_network.id,
        project=project.project_id)
    apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
        network=apigee_network.id,
        service="servicenetworking.googleapis.com",
        reserved_peering_ranges=[apigee_range.name])
    apigee_org = gcp.apigee.Organization("apigee_org",
        analytics_region="us-central1",
        project_id=project.project_id,
        authorized_network=apigee_network.id)
    apigee_environment_keystore_ss_alias = gcp.apigee.Environment("apigee_environment_keystore_ss_alias",
        org_id=apigee_org.id,
        name="env-name",
        description="Apigee Environment",
        display_name="environment-1")
    apigee_environment_keystore_alias = gcp.apigee.EnvKeystore("apigee_environment_keystore_alias",
        name="env-keystore",
        env_id=apigee_environment_keystore_ss_alias.id)
    apigee_environment_keystore_ss_alias_keystores_aliases_self_signed_cert = gcp.apigee.KeystoresAliasesSelfSignedCert("apigee_environment_keystore_ss_alias",
        environment=apigee_environment_keystore_ss_alias.name,
        org_id=apigee_org.name,
        keystore=apigee_environment_keystore_alias.name,
        alias="alias",
        key_size="1024",
        sig_alg="SHA512withRSA",
        cert_validity_in_days=4,
        subject=gcp.apigee.KeystoresAliasesSelfSignedCertSubjectArgs(
            common_name="selfsigned_example",
            country_code="US",
            locality="TX",
            org="CCE",
            org_unit="PSO",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/apigee"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := organizations.NewProject(ctx, "project", &organizations.ProjectArgs{
    			ProjectId:      pulumi.String("my-project"),
    			Name:           pulumi.String("my-project"),
    			OrgId:          pulumi.String("123456789"),
    			BillingAccount: pulumi.String("000000-0000000-0000000-000000"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = projects.NewService(ctx, "apigee", &projects.ServiceArgs{
    			Project: project.ProjectId,
    			Service: pulumi.String("apigee.googleapis.com"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = projects.NewService(ctx, "servicenetworking", &projects.ServiceArgs{
    			Project: project.ProjectId,
    			Service: pulumi.String("servicenetworking.googleapis.com"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = projects.NewService(ctx, "compute", &projects.ServiceArgs{
    			Project: project.ProjectId,
    			Service: pulumi.String("compute.googleapis.com"),
    		})
    		if err != nil {
    			return err
    		}
    		apigeeNetwork, err := compute.NewNetwork(ctx, "apigee_network", &compute.NetworkArgs{
    			Name:    pulumi.String("apigee-network"),
    			Project: project.ProjectId,
    		})
    		if err != nil {
    			return err
    		}
    		apigeeRange, err := compute.NewGlobalAddress(ctx, "apigee_range", &compute.GlobalAddressArgs{
    			Name:         pulumi.String("apigee-range"),
    			Purpose:      pulumi.String("VPC_PEERING"),
    			AddressType:  pulumi.String("INTERNAL"),
    			PrefixLength: pulumi.Int(16),
    			Network:      apigeeNetwork.ID(),
    			Project:      project.ProjectId,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = servicenetworking.NewConnection(ctx, "apigee_vpc_connection", &servicenetworking.ConnectionArgs{
    			Network: apigeeNetwork.ID(),
    			Service: pulumi.String("servicenetworking.googleapis.com"),
    			ReservedPeeringRanges: pulumi.StringArray{
    				apigeeRange.Name,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		apigeeOrg, err := apigee.NewOrganization(ctx, "apigee_org", &apigee.OrganizationArgs{
    			AnalyticsRegion:   pulumi.String("us-central1"),
    			ProjectId:         project.ProjectId,
    			AuthorizedNetwork: apigeeNetwork.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		apigeeEnvironmentKeystoreSsAlias, err := apigee.NewEnvironment(ctx, "apigee_environment_keystore_ss_alias", &apigee.EnvironmentArgs{
    			OrgId:       apigeeOrg.ID(),
    			Name:        pulumi.String("env-name"),
    			Description: pulumi.String("Apigee Environment"),
    			DisplayName: pulumi.String("environment-1"),
    		})
    		if err != nil {
    			return err
    		}
    		apigeeEnvironmentKeystoreAlias, err := apigee.NewEnvKeystore(ctx, "apigee_environment_keystore_alias", &apigee.EnvKeystoreArgs{
    			Name:  pulumi.String("env-keystore"),
    			EnvId: apigeeEnvironmentKeystoreSsAlias.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = apigee.NewKeystoresAliasesSelfSignedCert(ctx, "apigee_environment_keystore_ss_alias", &apigee.KeystoresAliasesSelfSignedCertArgs{
    			Environment:        apigeeEnvironmentKeystoreSsAlias.Name,
    			OrgId:              apigeeOrg.Name,
    			Keystore:           apigeeEnvironmentKeystoreAlias.Name,
    			Alias:              pulumi.String("alias"),
    			KeySize:            pulumi.String("1024"),
    			SigAlg:             pulumi.String("SHA512withRSA"),
    			CertValidityInDays: pulumi.Int(4),
    			Subject: &apigee.KeystoresAliasesSelfSignedCertSubjectArgs{
    				CommonName:  pulumi.String("selfsigned_example"),
    				CountryCode: pulumi.String("US"),
    				Locality:    pulumi.String("TX"),
    				Org:         pulumi.String("CCE"),
    				OrgUnit:     pulumi.String("PSO"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var project = new Gcp.Organizations.Project("project", new()
        {
            ProjectId = "my-project",
            Name = "my-project",
            OrgId = "123456789",
            BillingAccount = "000000-0000000-0000000-000000",
        });
    
        var apigee = new Gcp.Projects.Service("apigee", new()
        {
            Project = project.ProjectId,
            ServiceName = "apigee.googleapis.com",
        });
    
        var servicenetworking = new Gcp.Projects.Service("servicenetworking", new()
        {
            Project = project.ProjectId,
            ServiceName = "servicenetworking.googleapis.com",
        });
    
        var compute = new Gcp.Projects.Service("compute", new()
        {
            Project = project.ProjectId,
            ServiceName = "compute.googleapis.com",
        });
    
        var apigeeNetwork = new Gcp.Compute.Network("apigee_network", new()
        {
            Name = "apigee-network",
            Project = project.ProjectId,
        });
    
        var apigeeRange = new Gcp.Compute.GlobalAddress("apigee_range", new()
        {
            Name = "apigee-range",
            Purpose = "VPC_PEERING",
            AddressType = "INTERNAL",
            PrefixLength = 16,
            Network = apigeeNetwork.Id,
            Project = project.ProjectId,
        });
    
        var apigeeVpcConnection = new Gcp.ServiceNetworking.Connection("apigee_vpc_connection", new()
        {
            Network = apigeeNetwork.Id,
            Service = "servicenetworking.googleapis.com",
            ReservedPeeringRanges = new[]
            {
                apigeeRange.Name,
            },
        });
    
        var apigeeOrg = new Gcp.Apigee.Organization("apigee_org", new()
        {
            AnalyticsRegion = "us-central1",
            ProjectId = project.ProjectId,
            AuthorizedNetwork = apigeeNetwork.Id,
        });
    
        var apigeeEnvironmentKeystoreSsAlias = new Gcp.Apigee.Environment("apigee_environment_keystore_ss_alias", new()
        {
            OrgId = apigeeOrg.Id,
            Name = "env-name",
            Description = "Apigee Environment",
            DisplayName = "environment-1",
        });
    
        var apigeeEnvironmentKeystoreAlias = new Gcp.Apigee.EnvKeystore("apigee_environment_keystore_alias", new()
        {
            Name = "env-keystore",
            EnvId = apigeeEnvironmentKeystoreSsAlias.Id,
        });
    
        var apigeeEnvironmentKeystoreSsAliasKeystoresAliasesSelfSignedCert = new Gcp.Apigee.KeystoresAliasesSelfSignedCert("apigee_environment_keystore_ss_alias", new()
        {
            Environment = apigeeEnvironmentKeystoreSsAlias.Name,
            OrgId = apigeeOrg.Name,
            Keystore = apigeeEnvironmentKeystoreAlias.Name,
            Alias = "alias",
            KeySize = "1024",
            SigAlg = "SHA512withRSA",
            CertValidityInDays = 4,
            Subject = new Gcp.Apigee.Inputs.KeystoresAliasesSelfSignedCertSubjectArgs
            {
                CommonName = "selfsigned_example",
                CountryCode = "US",
                Locality = "TX",
                Org = "CCE",
                OrgUnit = "PSO",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.Project;
    import com.pulumi.gcp.organizations.ProjectArgs;
    import com.pulumi.gcp.projects.Service;
    import com.pulumi.gcp.projects.ServiceArgs;
    import com.pulumi.gcp.compute.Network;
    import com.pulumi.gcp.compute.NetworkArgs;
    import com.pulumi.gcp.compute.GlobalAddress;
    import com.pulumi.gcp.compute.GlobalAddressArgs;
    import com.pulumi.gcp.servicenetworking.Connection;
    import com.pulumi.gcp.servicenetworking.ConnectionArgs;
    import com.pulumi.gcp.apigee.Organization;
    import com.pulumi.gcp.apigee.OrganizationArgs;
    import com.pulumi.gcp.apigee.Environment;
    import com.pulumi.gcp.apigee.EnvironmentArgs;
    import com.pulumi.gcp.apigee.EnvKeystore;
    import com.pulumi.gcp.apigee.EnvKeystoreArgs;
    import com.pulumi.gcp.apigee.KeystoresAliasesSelfSignedCert;
    import com.pulumi.gcp.apigee.KeystoresAliasesSelfSignedCertArgs;
    import com.pulumi.gcp.apigee.inputs.KeystoresAliasesSelfSignedCertSubjectArgs;
    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 project = new Project("project", ProjectArgs.builder()        
                .projectId("my-project")
                .name("my-project")
                .orgId("123456789")
                .billingAccount("000000-0000000-0000000-000000")
                .build());
    
            var apigee = new Service("apigee", ServiceArgs.builder()        
                .project(project.projectId())
                .service("apigee.googleapis.com")
                .build());
    
            var servicenetworking = new Service("servicenetworking", ServiceArgs.builder()        
                .project(project.projectId())
                .service("servicenetworking.googleapis.com")
                .build());
    
            var compute = new Service("compute", ServiceArgs.builder()        
                .project(project.projectId())
                .service("compute.googleapis.com")
                .build());
    
            var apigeeNetwork = new Network("apigeeNetwork", NetworkArgs.builder()        
                .name("apigee-network")
                .project(project.projectId())
                .build());
    
            var apigeeRange = new GlobalAddress("apigeeRange", GlobalAddressArgs.builder()        
                .name("apigee-range")
                .purpose("VPC_PEERING")
                .addressType("INTERNAL")
                .prefixLength(16)
                .network(apigeeNetwork.id())
                .project(project.projectId())
                .build());
    
            var apigeeVpcConnection = new Connection("apigeeVpcConnection", ConnectionArgs.builder()        
                .network(apigeeNetwork.id())
                .service("servicenetworking.googleapis.com")
                .reservedPeeringRanges(apigeeRange.name())
                .build());
    
            var apigeeOrg = new Organization("apigeeOrg", OrganizationArgs.builder()        
                .analyticsRegion("us-central1")
                .projectId(project.projectId())
                .authorizedNetwork(apigeeNetwork.id())
                .build());
    
            var apigeeEnvironmentKeystoreSsAlias = new Environment("apigeeEnvironmentKeystoreSsAlias", EnvironmentArgs.builder()        
                .orgId(apigeeOrg.id())
                .name("env-name")
                .description("Apigee Environment")
                .displayName("environment-1")
                .build());
    
            var apigeeEnvironmentKeystoreAlias = new EnvKeystore("apigeeEnvironmentKeystoreAlias", EnvKeystoreArgs.builder()        
                .name("env-keystore")
                .envId(apigeeEnvironmentKeystoreSsAlias.id())
                .build());
    
            var apigeeEnvironmentKeystoreSsAliasKeystoresAliasesSelfSignedCert = new KeystoresAliasesSelfSignedCert("apigeeEnvironmentKeystoreSsAliasKeystoresAliasesSelfSignedCert", KeystoresAliasesSelfSignedCertArgs.builder()        
                .environment(apigeeEnvironmentKeystoreSsAlias.name())
                .orgId(apigeeOrg.name())
                .keystore(apigeeEnvironmentKeystoreAlias.name())
                .alias("alias")
                .keySize(1024)
                .sigAlg("SHA512withRSA")
                .certValidityInDays(4)
                .subject(KeystoresAliasesSelfSignedCertSubjectArgs.builder()
                    .commonName("selfsigned_example")
                    .countryCode("US")
                    .locality("TX")
                    .org("CCE")
                    .orgUnit("PSO")
                    .build())
                .build());
    
        }
    }
    
    resources:
      project:
        type: gcp:organizations:Project
        properties:
          projectId: my-project
          name: my-project
          orgId: '123456789'
          billingAccount: 000000-0000000-0000000-000000
      apigee:
        type: gcp:projects:Service
        properties:
          project: ${project.projectId}
          service: apigee.googleapis.com
      servicenetworking:
        type: gcp:projects:Service
        properties:
          project: ${project.projectId}
          service: servicenetworking.googleapis.com
      compute:
        type: gcp:projects:Service
        properties:
          project: ${project.projectId}
          service: compute.googleapis.com
      apigeeNetwork:
        type: gcp:compute:Network
        name: apigee_network
        properties:
          name: apigee-network
          project: ${project.projectId}
      apigeeRange:
        type: gcp:compute:GlobalAddress
        name: apigee_range
        properties:
          name: apigee-range
          purpose: VPC_PEERING
          addressType: INTERNAL
          prefixLength: 16
          network: ${apigeeNetwork.id}
          project: ${project.projectId}
      apigeeVpcConnection:
        type: gcp:servicenetworking:Connection
        name: apigee_vpc_connection
        properties:
          network: ${apigeeNetwork.id}
          service: servicenetworking.googleapis.com
          reservedPeeringRanges:
            - ${apigeeRange.name}
      apigeeOrg:
        type: gcp:apigee:Organization
        name: apigee_org
        properties:
          analyticsRegion: us-central1
          projectId: ${project.projectId}
          authorizedNetwork: ${apigeeNetwork.id}
      apigeeEnvironmentKeystoreSsAlias:
        type: gcp:apigee:Environment
        name: apigee_environment_keystore_ss_alias
        properties:
          orgId: ${apigeeOrg.id}
          name: env-name
          description: Apigee Environment
          displayName: environment-1
      apigeeEnvironmentKeystoreAlias:
        type: gcp:apigee:EnvKeystore
        name: apigee_environment_keystore_alias
        properties:
          name: env-keystore
          envId: ${apigeeEnvironmentKeystoreSsAlias.id}
      apigeeEnvironmentKeystoreSsAliasKeystoresAliasesSelfSignedCert:
        type: gcp:apigee:KeystoresAliasesSelfSignedCert
        name: apigee_environment_keystore_ss_alias
        properties:
          environment: ${apigeeEnvironmentKeystoreSsAlias.name}
          orgId: ${apigeeOrg.name}
          keystore: ${apigeeEnvironmentKeystoreAlias.name}
          alias: alias
          keySize: 1024
          sigAlg: SHA512withRSA
          certValidityInDays: 4
          subject:
            commonName: selfsigned_example
            countryCode: US
            locality: TX
            org: CCE
            orgUnit: PSO
    

    Create KeystoresAliasesSelfSignedCert Resource

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

    Constructor syntax

    new KeystoresAliasesSelfSignedCert(name: string, args: KeystoresAliasesSelfSignedCertArgs, opts?: CustomResourceOptions);
    @overload
    def KeystoresAliasesSelfSignedCert(resource_name: str,
                                       args: KeystoresAliasesSelfSignedCertArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def KeystoresAliasesSelfSignedCert(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       alias: Optional[str] = None,
                                       environment: Optional[str] = None,
                                       keystore: Optional[str] = None,
                                       org_id: Optional[str] = None,
                                       sig_alg: Optional[str] = None,
                                       subject: Optional[KeystoresAliasesSelfSignedCertSubjectArgs] = None,
                                       cert_validity_in_days: Optional[int] = None,
                                       key_size: Optional[str] = None,
                                       subject_alternative_dns_names: Optional[KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs] = None)
    func NewKeystoresAliasesSelfSignedCert(ctx *Context, name string, args KeystoresAliasesSelfSignedCertArgs, opts ...ResourceOption) (*KeystoresAliasesSelfSignedCert, error)
    public KeystoresAliasesSelfSignedCert(string name, KeystoresAliasesSelfSignedCertArgs args, CustomResourceOptions? opts = null)
    public KeystoresAliasesSelfSignedCert(String name, KeystoresAliasesSelfSignedCertArgs args)
    public KeystoresAliasesSelfSignedCert(String name, KeystoresAliasesSelfSignedCertArgs args, CustomResourceOptions options)
    
    type: gcp:apigee:KeystoresAliasesSelfSignedCert
    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 KeystoresAliasesSelfSignedCertArgs
    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 KeystoresAliasesSelfSignedCertArgs
    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 KeystoresAliasesSelfSignedCertArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KeystoresAliasesSelfSignedCertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KeystoresAliasesSelfSignedCertArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var keystoresAliasesSelfSignedCertResource = new Gcp.Apigee.KeystoresAliasesSelfSignedCert("keystoresAliasesSelfSignedCertResource", new()
    {
        Alias = "string",
        Environment = "string",
        Keystore = "string",
        OrgId = "string",
        SigAlg = "string",
        Subject = new Gcp.Apigee.Inputs.KeystoresAliasesSelfSignedCertSubjectArgs
        {
            CommonName = "string",
            CountryCode = "string",
            Email = "string",
            Locality = "string",
            Org = "string",
            OrgUnit = "string",
            State = "string",
        },
        CertValidityInDays = 0,
        KeySize = "string",
        SubjectAlternativeDnsNames = new Gcp.Apigee.Inputs.KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs
        {
            SubjectAlternativeName = "string",
        },
    });
    
    example, err := apigee.NewKeystoresAliasesSelfSignedCert(ctx, "keystoresAliasesSelfSignedCertResource", &apigee.KeystoresAliasesSelfSignedCertArgs{
    	Alias:       pulumi.String("string"),
    	Environment: pulumi.String("string"),
    	Keystore:    pulumi.String("string"),
    	OrgId:       pulumi.String("string"),
    	SigAlg:      pulumi.String("string"),
    	Subject: &apigee.KeystoresAliasesSelfSignedCertSubjectArgs{
    		CommonName:  pulumi.String("string"),
    		CountryCode: pulumi.String("string"),
    		Email:       pulumi.String("string"),
    		Locality:    pulumi.String("string"),
    		Org:         pulumi.String("string"),
    		OrgUnit:     pulumi.String("string"),
    		State:       pulumi.String("string"),
    	},
    	CertValidityInDays: pulumi.Int(0),
    	KeySize:            pulumi.String("string"),
    	SubjectAlternativeDnsNames: &apigee.KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs{
    		SubjectAlternativeName: pulumi.String("string"),
    	},
    })
    
    var keystoresAliasesSelfSignedCertResource = new KeystoresAliasesSelfSignedCert("keystoresAliasesSelfSignedCertResource", KeystoresAliasesSelfSignedCertArgs.builder()        
        .alias("string")
        .environment("string")
        .keystore("string")
        .orgId("string")
        .sigAlg("string")
        .subject(KeystoresAliasesSelfSignedCertSubjectArgs.builder()
            .commonName("string")
            .countryCode("string")
            .email("string")
            .locality("string")
            .org("string")
            .orgUnit("string")
            .state("string")
            .build())
        .certValidityInDays(0)
        .keySize("string")
        .subjectAlternativeDnsNames(KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs.builder()
            .subjectAlternativeName("string")
            .build())
        .build());
    
    keystores_aliases_self_signed_cert_resource = gcp.apigee.KeystoresAliasesSelfSignedCert("keystoresAliasesSelfSignedCertResource",
        alias="string",
        environment="string",
        keystore="string",
        org_id="string",
        sig_alg="string",
        subject=gcp.apigee.KeystoresAliasesSelfSignedCertSubjectArgs(
            common_name="string",
            country_code="string",
            email="string",
            locality="string",
            org="string",
            org_unit="string",
            state="string",
        ),
        cert_validity_in_days=0,
        key_size="string",
        subject_alternative_dns_names=gcp.apigee.KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs(
            subject_alternative_name="string",
        ))
    
    const keystoresAliasesSelfSignedCertResource = new gcp.apigee.KeystoresAliasesSelfSignedCert("keystoresAliasesSelfSignedCertResource", {
        alias: "string",
        environment: "string",
        keystore: "string",
        orgId: "string",
        sigAlg: "string",
        subject: {
            commonName: "string",
            countryCode: "string",
            email: "string",
            locality: "string",
            org: "string",
            orgUnit: "string",
            state: "string",
        },
        certValidityInDays: 0,
        keySize: "string",
        subjectAlternativeDnsNames: {
            subjectAlternativeName: "string",
        },
    });
    
    type: gcp:apigee:KeystoresAliasesSelfSignedCert
    properties:
        alias: string
        certValidityInDays: 0
        environment: string
        keySize: string
        keystore: string
        orgId: string
        sigAlg: string
        subject:
            commonName: string
            countryCode: string
            email: string
            locality: string
            org: string
            orgUnit: string
            state: string
        subjectAlternativeDnsNames:
            subjectAlternativeName: string
    

    KeystoresAliasesSelfSignedCert Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The KeystoresAliasesSelfSignedCert resource accepts the following input properties:

    Alias string
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    Environment string
    The Apigee environment name
    Keystore string
    The Apigee keystore name associated in an Apigee environment
    OrgId string
    The Apigee Organization name associated with the Apigee environment
    SigAlg string
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    Subject KeystoresAliasesSelfSignedCertSubject
    Subject details. Structure is documented below.
    CertValidityInDays int
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    KeySize string
    Key size. Default and maximum value is 2048 bits.
    SubjectAlternativeDnsNames KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNames
    List of alternative host names. Maximum length is 255 characters for each value.
    Alias string
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    Environment string
    The Apigee environment name
    Keystore string
    The Apigee keystore name associated in an Apigee environment
    OrgId string
    The Apigee Organization name associated with the Apigee environment
    SigAlg string
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    Subject KeystoresAliasesSelfSignedCertSubjectArgs
    Subject details. Structure is documented below.
    CertValidityInDays int
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    KeySize string
    Key size. Default and maximum value is 2048 bits.
    SubjectAlternativeDnsNames KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs
    List of alternative host names. Maximum length is 255 characters for each value.
    alias String
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    environment String
    The Apigee environment name
    keystore String
    The Apigee keystore name associated in an Apigee environment
    orgId String
    The Apigee Organization name associated with the Apigee environment
    sigAlg String
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    subject KeystoresAliasesSelfSignedCertSubject
    Subject details. Structure is documented below.
    certValidityInDays Integer
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    keySize String
    Key size. Default and maximum value is 2048 bits.
    subjectAlternativeDnsNames KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNames
    List of alternative host names. Maximum length is 255 characters for each value.
    alias string
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    environment string
    The Apigee environment name
    keystore string
    The Apigee keystore name associated in an Apigee environment
    orgId string
    The Apigee Organization name associated with the Apigee environment
    sigAlg string
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    subject KeystoresAliasesSelfSignedCertSubject
    Subject details. Structure is documented below.
    certValidityInDays number
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    keySize string
    Key size. Default and maximum value is 2048 bits.
    subjectAlternativeDnsNames KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNames
    List of alternative host names. Maximum length is 255 characters for each value.
    alias str
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    environment str
    The Apigee environment name
    keystore str
    The Apigee keystore name associated in an Apigee environment
    org_id str
    The Apigee Organization name associated with the Apigee environment
    sig_alg str
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    subject KeystoresAliasesSelfSignedCertSubjectArgs
    Subject details. Structure is documented below.
    cert_validity_in_days int
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    key_size str
    Key size. Default and maximum value is 2048 bits.
    subject_alternative_dns_names KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs
    List of alternative host names. Maximum length is 255 characters for each value.
    alias String
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    environment String
    The Apigee environment name
    keystore String
    The Apigee keystore name associated in an Apigee environment
    orgId String
    The Apigee Organization name associated with the Apigee environment
    sigAlg String
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    subject Property Map
    Subject details. Structure is documented below.
    certValidityInDays Number
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    keySize String
    Key size. Default and maximum value is 2048 bits.
    subjectAlternativeDnsNames Property Map
    List of alternative host names. Maximum length is 255 characters for each value.

    Outputs

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

    CertsInfos List<KeystoresAliasesSelfSignedCertCertsInfo>
    Chain of certificates under this alias. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Optional.Type of Alias
    CertsInfos []KeystoresAliasesSelfSignedCertCertsInfo
    Chain of certificates under this alias. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Optional.Type of Alias
    certsInfos List<KeystoresAliasesSelfSignedCertCertsInfo>
    Chain of certificates under this alias. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Optional.Type of Alias
    certsInfos KeystoresAliasesSelfSignedCertCertsInfo[]
    Chain of certificates under this alias. Structure is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Optional.Type of Alias
    certs_infos Sequence[KeystoresAliasesSelfSignedCertCertsInfo]
    Chain of certificates under this alias. Structure is documented below.
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Optional.Type of Alias
    certsInfos List<Property Map>
    Chain of certificates under this alias. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Optional.Type of Alias

    Look up Existing KeystoresAliasesSelfSignedCert Resource

    Get an existing KeystoresAliasesSelfSignedCert 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?: KeystoresAliasesSelfSignedCertState, opts?: CustomResourceOptions): KeystoresAliasesSelfSignedCert
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alias: Optional[str] = None,
            cert_validity_in_days: Optional[int] = None,
            certs_infos: Optional[Sequence[KeystoresAliasesSelfSignedCertCertsInfoArgs]] = None,
            environment: Optional[str] = None,
            key_size: Optional[str] = None,
            keystore: Optional[str] = None,
            org_id: Optional[str] = None,
            sig_alg: Optional[str] = None,
            subject: Optional[KeystoresAliasesSelfSignedCertSubjectArgs] = None,
            subject_alternative_dns_names: Optional[KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs] = None,
            type: Optional[str] = None) -> KeystoresAliasesSelfSignedCert
    func GetKeystoresAliasesSelfSignedCert(ctx *Context, name string, id IDInput, state *KeystoresAliasesSelfSignedCertState, opts ...ResourceOption) (*KeystoresAliasesSelfSignedCert, error)
    public static KeystoresAliasesSelfSignedCert Get(string name, Input<string> id, KeystoresAliasesSelfSignedCertState? state, CustomResourceOptions? opts = null)
    public static KeystoresAliasesSelfSignedCert get(String name, Output<String> id, KeystoresAliasesSelfSignedCertState 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:
    Alias string
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    CertValidityInDays int
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    CertsInfos List<KeystoresAliasesSelfSignedCertCertsInfo>
    Chain of certificates under this alias. Structure is documented below.
    Environment string
    The Apigee environment name
    KeySize string
    Key size. Default and maximum value is 2048 bits.
    Keystore string
    The Apigee keystore name associated in an Apigee environment
    OrgId string
    The Apigee Organization name associated with the Apigee environment
    SigAlg string
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    Subject KeystoresAliasesSelfSignedCertSubject
    Subject details. Structure is documented below.
    SubjectAlternativeDnsNames KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNames
    List of alternative host names. Maximum length is 255 characters for each value.
    Type string
    Optional.Type of Alias
    Alias string
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    CertValidityInDays int
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    CertsInfos []KeystoresAliasesSelfSignedCertCertsInfoArgs
    Chain of certificates under this alias. Structure is documented below.
    Environment string
    The Apigee environment name
    KeySize string
    Key size. Default and maximum value is 2048 bits.
    Keystore string
    The Apigee keystore name associated in an Apigee environment
    OrgId string
    The Apigee Organization name associated with the Apigee environment
    SigAlg string
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    Subject KeystoresAliasesSelfSignedCertSubjectArgs
    Subject details. Structure is documented below.
    SubjectAlternativeDnsNames KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs
    List of alternative host names. Maximum length is 255 characters for each value.
    Type string
    Optional.Type of Alias
    alias String
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    certValidityInDays Integer
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    certsInfos List<KeystoresAliasesSelfSignedCertCertsInfo>
    Chain of certificates under this alias. Structure is documented below.
    environment String
    The Apigee environment name
    keySize String
    Key size. Default and maximum value is 2048 bits.
    keystore String
    The Apigee keystore name associated in an Apigee environment
    orgId String
    The Apigee Organization name associated with the Apigee environment
    sigAlg String
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    subject KeystoresAliasesSelfSignedCertSubject
    Subject details. Structure is documented below.
    subjectAlternativeDnsNames KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNames
    List of alternative host names. Maximum length is 255 characters for each value.
    type String
    Optional.Type of Alias
    alias string
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    certValidityInDays number
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    certsInfos KeystoresAliasesSelfSignedCertCertsInfo[]
    Chain of certificates under this alias. Structure is documented below.
    environment string
    The Apigee environment name
    keySize string
    Key size. Default and maximum value is 2048 bits.
    keystore string
    The Apigee keystore name associated in an Apigee environment
    orgId string
    The Apigee Organization name associated with the Apigee environment
    sigAlg string
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    subject KeystoresAliasesSelfSignedCertSubject
    Subject details. Structure is documented below.
    subjectAlternativeDnsNames KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNames
    List of alternative host names. Maximum length is 255 characters for each value.
    type string
    Optional.Type of Alias
    alias str
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    cert_validity_in_days int
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    certs_infos Sequence[KeystoresAliasesSelfSignedCertCertsInfoArgs]
    Chain of certificates under this alias. Structure is documented below.
    environment str
    The Apigee environment name
    key_size str
    Key size. Default and maximum value is 2048 bits.
    keystore str
    The Apigee keystore name associated in an Apigee environment
    org_id str
    The Apigee Organization name associated with the Apigee environment
    sig_alg str
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    subject KeystoresAliasesSelfSignedCertSubjectArgs
    Subject details. Structure is documented below.
    subject_alternative_dns_names KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs
    List of alternative host names. Maximum length is 255 characters for each value.
    type str
    Optional.Type of Alias
    alias String
    Alias for the key/certificate pair. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body.
    certValidityInDays Number
    Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365.
    certsInfos List<Property Map>
    Chain of certificates under this alias. Structure is documented below.
    environment String
    The Apigee environment name
    keySize String
    Key size. Default and maximum value is 2048 bits.
    keystore String
    The Apigee keystore name associated in an Apigee environment
    orgId String
    The Apigee Organization name associated with the Apigee environment
    sigAlg String
    Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA
    subject Property Map
    Subject details. Structure is documented below.
    subjectAlternativeDnsNames Property Map
    List of alternative host names. Maximum length is 255 characters for each value.
    type String
    Optional.Type of Alias

    Supporting Types

    KeystoresAliasesSelfSignedCertCertsInfo, KeystoresAliasesSelfSignedCertCertsInfoArgs

    CertInfos List<KeystoresAliasesSelfSignedCertCertsInfoCertInfo>
    (Output) List of all properties in the object. Structure is documented below.
    CertInfos []KeystoresAliasesSelfSignedCertCertsInfoCertInfo
    (Output) List of all properties in the object. Structure is documented below.
    certInfos List<KeystoresAliasesSelfSignedCertCertsInfoCertInfo>
    (Output) List of all properties in the object. Structure is documented below.
    certInfos KeystoresAliasesSelfSignedCertCertsInfoCertInfo[]
    (Output) List of all properties in the object. Structure is documented below.
    cert_infos Sequence[KeystoresAliasesSelfSignedCertCertsInfoCertInfo]
    (Output) List of all properties in the object. Structure is documented below.
    certInfos List<Property Map>
    (Output) List of all properties in the object. Structure is documented below.

    KeystoresAliasesSelfSignedCertCertsInfoCertInfo, KeystoresAliasesSelfSignedCertCertsInfoCertInfoArgs

    BasicConstraints string
    (Output) X.509 basic constraints extension.
    ExpiryDate string
    (Output) X.509 notAfter validity period in milliseconds since epoch.
    IsValid string
    (Output) Flag that specifies whether the certificate is valid. Flag is set to Yes if the certificate is valid, No if expired, or Not yet if not yet valid.
    Issuer string
    (Output) X.509 issuer.
    PublicKey string
    (Output) Public key component of the X.509 subject public key info.
    SerialNumber string
    (Output) X.509 serial number.
    SigAlgName string
    (Output) X.509 signatureAlgorithm.
    Subject string
    Subject details. Structure is documented below.
    SubjectAlternativeNames List<string>
    (Output) X.509 subject alternative names (SANs) extension.
    ValidFrom string
    (Output) X.509 notBefore validity period in milliseconds since epoch.
    Version int
    (Output) X.509 version.
    BasicConstraints string
    (Output) X.509 basic constraints extension.
    ExpiryDate string
    (Output) X.509 notAfter validity period in milliseconds since epoch.
    IsValid string
    (Output) Flag that specifies whether the certificate is valid. Flag is set to Yes if the certificate is valid, No if expired, or Not yet if not yet valid.
    Issuer string
    (Output) X.509 issuer.
    PublicKey string
    (Output) Public key component of the X.509 subject public key info.
    SerialNumber string
    (Output) X.509 serial number.
    SigAlgName string
    (Output) X.509 signatureAlgorithm.
    Subject string
    Subject details. Structure is documented below.
    SubjectAlternativeNames []string
    (Output) X.509 subject alternative names (SANs) extension.
    ValidFrom string
    (Output) X.509 notBefore validity period in milliseconds since epoch.
    Version int
    (Output) X.509 version.
    basicConstraints String
    (Output) X.509 basic constraints extension.
    expiryDate String
    (Output) X.509 notAfter validity period in milliseconds since epoch.
    isValid String
    (Output) Flag that specifies whether the certificate is valid. Flag is set to Yes if the certificate is valid, No if expired, or Not yet if not yet valid.
    issuer String
    (Output) X.509 issuer.
    publicKey String
    (Output) Public key component of the X.509 subject public key info.
    serialNumber String
    (Output) X.509 serial number.
    sigAlgName String
    (Output) X.509 signatureAlgorithm.
    subject String
    Subject details. Structure is documented below.
    subjectAlternativeNames List<String>
    (Output) X.509 subject alternative names (SANs) extension.
    validFrom String
    (Output) X.509 notBefore validity period in milliseconds since epoch.
    version Integer
    (Output) X.509 version.
    basicConstraints string
    (Output) X.509 basic constraints extension.
    expiryDate string
    (Output) X.509 notAfter validity period in milliseconds since epoch.
    isValid string
    (Output) Flag that specifies whether the certificate is valid. Flag is set to Yes if the certificate is valid, No if expired, or Not yet if not yet valid.
    issuer string
    (Output) X.509 issuer.
    publicKey string
    (Output) Public key component of the X.509 subject public key info.
    serialNumber string
    (Output) X.509 serial number.
    sigAlgName string
    (Output) X.509 signatureAlgorithm.
    subject string
    Subject details. Structure is documented below.
    subjectAlternativeNames string[]
    (Output) X.509 subject alternative names (SANs) extension.
    validFrom string
    (Output) X.509 notBefore validity period in milliseconds since epoch.
    version number
    (Output) X.509 version.
    basic_constraints str
    (Output) X.509 basic constraints extension.
    expiry_date str
    (Output) X.509 notAfter validity period in milliseconds since epoch.
    is_valid str
    (Output) Flag that specifies whether the certificate is valid. Flag is set to Yes if the certificate is valid, No if expired, or Not yet if not yet valid.
    issuer str
    (Output) X.509 issuer.
    public_key str
    (Output) Public key component of the X.509 subject public key info.
    serial_number str
    (Output) X.509 serial number.
    sig_alg_name str
    (Output) X.509 signatureAlgorithm.
    subject str
    Subject details. Structure is documented below.
    subject_alternative_names Sequence[str]
    (Output) X.509 subject alternative names (SANs) extension.
    valid_from str
    (Output) X.509 notBefore validity period in milliseconds since epoch.
    version int
    (Output) X.509 version.
    basicConstraints String
    (Output) X.509 basic constraints extension.
    expiryDate String
    (Output) X.509 notAfter validity period in milliseconds since epoch.
    isValid String
    (Output) Flag that specifies whether the certificate is valid. Flag is set to Yes if the certificate is valid, No if expired, or Not yet if not yet valid.
    issuer String
    (Output) X.509 issuer.
    publicKey String
    (Output) Public key component of the X.509 subject public key info.
    serialNumber String
    (Output) X.509 serial number.
    sigAlgName String
    (Output) X.509 signatureAlgorithm.
    subject String
    Subject details. Structure is documented below.
    subjectAlternativeNames List<String>
    (Output) X.509 subject alternative names (SANs) extension.
    validFrom String
    (Output) X.509 notBefore validity period in milliseconds since epoch.
    version Number
    (Output) X.509 version.

    KeystoresAliasesSelfSignedCertSubject, KeystoresAliasesSelfSignedCertSubjectArgs

    CommonName string
    Common name of the organization. Maximum length is 64 characters.
    CountryCode string
    Two-letter country code. Example, IN for India, US for United States of America.
    Email string
    Email address. Max 255 characters.


    Locality string
    City or town name. Maximum length is 128 characters.
    Org string
    Organization name. Maximum length is 64 characters.
    OrgUnit string
    Organization team name. Maximum length is 64 characters.
    State string
    State or district name. Maximum length is 128 characters.
    CommonName string
    Common name of the organization. Maximum length is 64 characters.
    CountryCode string
    Two-letter country code. Example, IN for India, US for United States of America.
    Email string
    Email address. Max 255 characters.


    Locality string
    City or town name. Maximum length is 128 characters.
    Org string
    Organization name. Maximum length is 64 characters.
    OrgUnit string
    Organization team name. Maximum length is 64 characters.
    State string
    State or district name. Maximum length is 128 characters.
    commonName String
    Common name of the organization. Maximum length is 64 characters.
    countryCode String
    Two-letter country code. Example, IN for India, US for United States of America.
    email String
    Email address. Max 255 characters.


    locality String
    City or town name. Maximum length is 128 characters.
    org String
    Organization name. Maximum length is 64 characters.
    orgUnit String
    Organization team name. Maximum length is 64 characters.
    state String
    State or district name. Maximum length is 128 characters.
    commonName string
    Common name of the organization. Maximum length is 64 characters.
    countryCode string
    Two-letter country code. Example, IN for India, US for United States of America.
    email string
    Email address. Max 255 characters.


    locality string
    City or town name. Maximum length is 128 characters.
    org string
    Organization name. Maximum length is 64 characters.
    orgUnit string
    Organization team name. Maximum length is 64 characters.
    state string
    State or district name. Maximum length is 128 characters.
    common_name str
    Common name of the organization. Maximum length is 64 characters.
    country_code str
    Two-letter country code. Example, IN for India, US for United States of America.
    email str
    Email address. Max 255 characters.


    locality str
    City or town name. Maximum length is 128 characters.
    org str
    Organization name. Maximum length is 64 characters.
    org_unit str
    Organization team name. Maximum length is 64 characters.
    state str
    State or district name. Maximum length is 128 characters.
    commonName String
    Common name of the organization. Maximum length is 64 characters.
    countryCode String
    Two-letter country code. Example, IN for India, US for United States of America.
    email String
    Email address. Max 255 characters.


    locality String
    City or town name. Maximum length is 128 characters.
    org String
    Organization name. Maximum length is 64 characters.
    orgUnit String
    Organization team name. Maximum length is 64 characters.
    state String
    State or district name. Maximum length is 128 characters.

    KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNames, KeystoresAliasesSelfSignedCertSubjectAlternativeDnsNamesArgs

    SubjectAlternativeName string
    Subject Alternative Name
    SubjectAlternativeName string
    Subject Alternative Name
    subjectAlternativeName String
    Subject Alternative Name
    subjectAlternativeName string
    Subject Alternative Name
    subject_alternative_name str
    Subject Alternative Name
    subjectAlternativeName String
    Subject Alternative Name

    Import

    KeystoresAliasesSelfSignedCert can be imported using any of these accepted formats:

    • organizations/{{org_id}}/environments/{{environment}}/keystores/{{keystore}}/aliases/{{alias}}

    • {{org_id}}/{{environment}}/{{keystore}}/{{alias}}

    When using the pulumi import command, KeystoresAliasesSelfSignedCert can be imported using one of the formats above. For example:

    $ pulumi import gcp:apigee/keystoresAliasesSelfSignedCert:KeystoresAliasesSelfSignedCert default organizations/{{org_id}}/environments/{{environment}}/keystores/{{keystore}}/aliases/{{alias}}
    
    $ pulumi import gcp:apigee/keystoresAliasesSelfSignedCert:KeystoresAliasesSelfSignedCert default {{org_id}}/{{environment}}/{{keystore}}/{{alias}}
    

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

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi