1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apigee
  5. KeystoresAliasesPkcs12
Google Cloud Classic v7.30.2 published on Wednesday, Jul 10, 2024 by Pulumi

gcp.apigee.KeystoresAliasesPkcs12

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.30.2 published on Wednesday, Jul 10, 2024 by Pulumi

    An alias from a pkcs12 file.

    To get more information about KeystoresAliasesPkcs12, see:

    Create KeystoresAliasesPkcs12 Resource

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

    Constructor syntax

    new KeystoresAliasesPkcs12(name: string, args: KeystoresAliasesPkcs12Args, opts?: CustomResourceOptions);
    @overload
    def KeystoresAliasesPkcs12(resource_name: str,
                               args: KeystoresAliasesPkcs12Args,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def KeystoresAliasesPkcs12(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               alias: Optional[str] = None,
                               environment: Optional[str] = None,
                               file: Optional[str] = None,
                               filehash: Optional[str] = None,
                               keystore: Optional[str] = None,
                               org_id: Optional[str] = None,
                               password: Optional[str] = None)
    func NewKeystoresAliasesPkcs12(ctx *Context, name string, args KeystoresAliasesPkcs12Args, opts ...ResourceOption) (*KeystoresAliasesPkcs12, error)
    public KeystoresAliasesPkcs12(string name, KeystoresAliasesPkcs12Args args, CustomResourceOptions? opts = null)
    public KeystoresAliasesPkcs12(String name, KeystoresAliasesPkcs12Args args)
    public KeystoresAliasesPkcs12(String name, KeystoresAliasesPkcs12Args args, CustomResourceOptions options)
    
    type: gcp:apigee:KeystoresAliasesPkcs12
    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 KeystoresAliasesPkcs12Args
    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 KeystoresAliasesPkcs12Args
    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 KeystoresAliasesPkcs12Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KeystoresAliasesPkcs12Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KeystoresAliasesPkcs12Args
    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 keystoresAliasesPkcs12Resource = new Gcp.Apigee.KeystoresAliasesPkcs12("keystoresAliasesPkcs12Resource", new()
    {
        Alias = "string",
        Environment = "string",
        File = "string",
        Filehash = "string",
        Keystore = "string",
        OrgId = "string",
        Password = "string",
    });
    
    example, err := apigee.NewKeystoresAliasesPkcs12(ctx, "keystoresAliasesPkcs12Resource", &apigee.KeystoresAliasesPkcs12Args{
    	Alias:       pulumi.String("string"),
    	Environment: pulumi.String("string"),
    	File:        pulumi.String("string"),
    	Filehash:    pulumi.String("string"),
    	Keystore:    pulumi.String("string"),
    	OrgId:       pulumi.String("string"),
    	Password:    pulumi.String("string"),
    })
    
    var keystoresAliasesPkcs12Resource = new KeystoresAliasesPkcs12("keystoresAliasesPkcs12Resource", KeystoresAliasesPkcs12Args.builder()
        .alias("string")
        .environment("string")
        .file("string")
        .filehash("string")
        .keystore("string")
        .orgId("string")
        .password("string")
        .build());
    
    keystores_aliases_pkcs12_resource = gcp.apigee.KeystoresAliasesPkcs12("keystoresAliasesPkcs12Resource",
        alias="string",
        environment="string",
        file="string",
        filehash="string",
        keystore="string",
        org_id="string",
        password="string")
    
    const keystoresAliasesPkcs12Resource = new gcp.apigee.KeystoresAliasesPkcs12("keystoresAliasesPkcs12Resource", {
        alias: "string",
        environment: "string",
        file: "string",
        filehash: "string",
        keystore: "string",
        orgId: "string",
        password: "string",
    });
    
    type: gcp:apigee:KeystoresAliasesPkcs12
    properties:
        alias: string
        environment: string
        file: string
        filehash: string
        keystore: string
        orgId: string
        password: string
    

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

    Alias string
    Alias Name
    Environment string
    Environment associated with the alias
    File string
    PKCS12 file content


    Filehash string
    Hash of the pkcs file
    Keystore string
    Keystore Name
    OrgId string
    Organization ID associated with the alias, without organization/ prefix
    Password string
    Password for the PKCS12 file if it's encrypted
    Alias string
    Alias Name
    Environment string
    Environment associated with the alias
    File string
    PKCS12 file content


    Filehash string
    Hash of the pkcs file
    Keystore string
    Keystore Name
    OrgId string
    Organization ID associated with the alias, without organization/ prefix
    Password string
    Password for the PKCS12 file if it's encrypted
    alias String
    Alias Name
    environment String
    Environment associated with the alias
    file String
    PKCS12 file content


    filehash String
    Hash of the pkcs file
    keystore String
    Keystore Name
    orgId String
    Organization ID associated with the alias, without organization/ prefix
    password String
    Password for the PKCS12 file if it's encrypted
    alias string
    Alias Name
    environment string
    Environment associated with the alias
    file string
    PKCS12 file content


    filehash string
    Hash of the pkcs file
    keystore string
    Keystore Name
    orgId string
    Organization ID associated with the alias, without organization/ prefix
    password string
    Password for the PKCS12 file if it's encrypted
    alias str
    Alias Name
    environment str
    Environment associated with the alias
    file str
    PKCS12 file content


    filehash str
    Hash of the pkcs file
    keystore str
    Keystore Name
    org_id str
    Organization ID associated with the alias, without organization/ prefix
    password str
    Password for the PKCS12 file if it's encrypted
    alias String
    Alias Name
    environment String
    Environment associated with the alias
    file String
    PKCS12 file content


    filehash String
    Hash of the pkcs file
    keystore String
    Keystore Name
    orgId String
    Organization ID associated with the alias, without organization/ prefix
    password String
    Password for the PKCS12 file if it's encrypted

    Outputs

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

    CertsInfos List<KeystoresAliasesPkcs12CertsInfo>
    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 []KeystoresAliasesPkcs12CertsInfo
    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<KeystoresAliasesPkcs12CertsInfo>
    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 KeystoresAliasesPkcs12CertsInfo[]
    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[KeystoresAliasesPkcs12CertsInfo]
    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 KeystoresAliasesPkcs12 Resource

    Get an existing KeystoresAliasesPkcs12 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?: KeystoresAliasesPkcs12State, opts?: CustomResourceOptions): KeystoresAliasesPkcs12
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alias: Optional[str] = None,
            certs_infos: Optional[Sequence[KeystoresAliasesPkcs12CertsInfoArgs]] = None,
            environment: Optional[str] = None,
            file: Optional[str] = None,
            filehash: Optional[str] = None,
            keystore: Optional[str] = None,
            org_id: Optional[str] = None,
            password: Optional[str] = None,
            type: Optional[str] = None) -> KeystoresAliasesPkcs12
    func GetKeystoresAliasesPkcs12(ctx *Context, name string, id IDInput, state *KeystoresAliasesPkcs12State, opts ...ResourceOption) (*KeystoresAliasesPkcs12, error)
    public static KeystoresAliasesPkcs12 Get(string name, Input<string> id, KeystoresAliasesPkcs12State? state, CustomResourceOptions? opts = null)
    public static KeystoresAliasesPkcs12 get(String name, Output<String> id, KeystoresAliasesPkcs12State 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 Name
    CertsInfos List<KeystoresAliasesPkcs12CertsInfo>
    Chain of certificates under this alias. Structure is documented below.
    Environment string
    Environment associated with the alias
    File string
    PKCS12 file content


    Filehash string
    Hash of the pkcs file
    Keystore string
    Keystore Name
    OrgId string
    Organization ID associated with the alias, without organization/ prefix
    Password string
    Password for the PKCS12 file if it's encrypted
    Type string
    Optional.Type of Alias
    Alias string
    Alias Name
    CertsInfos []KeystoresAliasesPkcs12CertsInfoArgs
    Chain of certificates under this alias. Structure is documented below.
    Environment string
    Environment associated with the alias
    File string
    PKCS12 file content


    Filehash string
    Hash of the pkcs file
    Keystore string
    Keystore Name
    OrgId string
    Organization ID associated with the alias, without organization/ prefix
    Password string
    Password for the PKCS12 file if it's encrypted
    Type string
    Optional.Type of Alias
    alias String
    Alias Name
    certsInfos List<KeystoresAliasesPkcs12CertsInfo>
    Chain of certificates under this alias. Structure is documented below.
    environment String
    Environment associated with the alias
    file String
    PKCS12 file content


    filehash String
    Hash of the pkcs file
    keystore String
    Keystore Name
    orgId String
    Organization ID associated with the alias, without organization/ prefix
    password String
    Password for the PKCS12 file if it's encrypted
    type String
    Optional.Type of Alias
    alias string
    Alias Name
    certsInfos KeystoresAliasesPkcs12CertsInfo[]
    Chain of certificates under this alias. Structure is documented below.
    environment string
    Environment associated with the alias
    file string
    PKCS12 file content


    filehash string
    Hash of the pkcs file
    keystore string
    Keystore Name
    orgId string
    Organization ID associated with the alias, without organization/ prefix
    password string
    Password for the PKCS12 file if it's encrypted
    type string
    Optional.Type of Alias
    alias str
    Alias Name
    certs_infos Sequence[KeystoresAliasesPkcs12CertsInfoArgs]
    Chain of certificates under this alias. Structure is documented below.
    environment str
    Environment associated with the alias
    file str
    PKCS12 file content


    filehash str
    Hash of the pkcs file
    keystore str
    Keystore Name
    org_id str
    Organization ID associated with the alias, without organization/ prefix
    password str
    Password for the PKCS12 file if it's encrypted
    type str
    Optional.Type of Alias
    alias String
    Alias Name
    certsInfos List<Property Map>
    Chain of certificates under this alias. Structure is documented below.
    environment String
    Environment associated with the alias
    file String
    PKCS12 file content


    filehash String
    Hash of the pkcs file
    keystore String
    Keystore Name
    orgId String
    Organization ID associated with the alias, without organization/ prefix
    password String
    Password for the PKCS12 file if it's encrypted
    type String
    Optional.Type of Alias

    Supporting Types

    KeystoresAliasesPkcs12CertsInfo, KeystoresAliasesPkcs12CertsInfoArgs

    CertInfos List<KeystoresAliasesPkcs12CertsInfoCertInfo>
    (Output) List of all properties in the object. Structure is documented below.
    CertInfos []KeystoresAliasesPkcs12CertsInfoCertInfo
    (Output) List of all properties in the object. Structure is documented below.
    certInfos List<KeystoresAliasesPkcs12CertsInfoCertInfo>
    (Output) List of all properties in the object. Structure is documented below.
    certInfos KeystoresAliasesPkcs12CertsInfoCertInfo[]
    (Output) List of all properties in the object. Structure is documented below.
    cert_infos Sequence[KeystoresAliasesPkcs12CertsInfoCertInfo]
    (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.

    KeystoresAliasesPkcs12CertsInfoCertInfo, KeystoresAliasesPkcs12CertsInfoCertInfoArgs

    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
    (Output) X.509 subject.
    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
    (Output) X.509 subject.
    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
    (Output) X.509 subject.
    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
    (Output) X.509 subject.
    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
    (Output) X.509 subject.
    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
    (Output) X.509 subject.
    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.

    Import

    KeystoresAliasesPkcs12 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, KeystoresAliasesPkcs12 can be imported using one of the formats above. For example:

    $ pulumi import gcp:apigee/keystoresAliasesPkcs12:KeystoresAliasesPkcs12 default organizations/{{org_id}}/environments/{{environment}}/keystores/{{keystore}}/aliases/{{alias}}
    
    $ pulumi import gcp:apigee/keystoresAliasesPkcs12:KeystoresAliasesPkcs12 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.30.2 published on Wednesday, Jul 10, 2024 by Pulumi