1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apigee
  5. KeystoresAliasesPkcs12
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi

gcp.apigee.KeystoresAliasesPkcs12

Explore with Pulumi AI

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 This property is required. string
The unique name of the resource.
args This property is required. KeystoresAliasesPkcs12Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. KeystoresAliasesPkcs12Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. KeystoresAliasesPkcs12Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
var keystoresAliasesPkcs12Resource = new KeystoresAliasesPkcs12("keystoresAliasesPkcs12Resource", KeystoresAliasesPkcs12Args.builder()
    .alias("string")
    .environment("string")
    .file("string")
    .filehash("string")
    .keystore("string")
    .orgId("string")
    .password("string")
    .build());
Copy
keystores_aliases_pkcs12_resource = gcp.apigee.KeystoresAliasesPkcs12("keystoresAliasesPkcs12Resource",
    alias="string",
    environment="string",
    file="string",
    filehash="string",
    keystore="string",
    org_id="string",
    password="string")
Copy
const keystoresAliasesPkcs12Resource = new gcp.apigee.KeystoresAliasesPkcs12("keystoresAliasesPkcs12Resource", {
    alias: "string",
    environment: "string",
    file: "string",
    filehash: "string",
    keystore: "string",
    orgId: "string",
    password: "string",
});
Copy
type: gcp:apigee:KeystoresAliasesPkcs12
properties:
    alias: string
    environment: string
    file: string
    filehash: string
    keystore: string
    orgId: string
    password: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The KeystoresAliasesPkcs12 resource accepts the following input properties:

Alias
This property is required.
Changes to this property will trigger replacement.
string
Alias Name
Environment
This property is required.
Changes to this property will trigger replacement.
string
Environment associated with the alias
File
This property is required.
Changes to this property will trigger replacement.
string
PKCS12 file content


Filehash
This property is required.
Changes to this property will trigger replacement.
string
Hash of the pkcs file
Keystore
This property is required.
Changes to this property will trigger replacement.
string
Keystore Name
OrgId
This property is required.
Changes to this property will trigger replacement.
string
Organization ID associated with the alias, without organization/ prefix
Password string
Password for the PKCS12 file if it's encrypted
Alias
This property is required.
Changes to this property will trigger replacement.
string
Alias Name
Environment
This property is required.
Changes to this property will trigger replacement.
string
Environment associated with the alias
File
This property is required.
Changes to this property will trigger replacement.
string
PKCS12 file content


Filehash
This property is required.
Changes to this property will trigger replacement.
string
Hash of the pkcs file
Keystore
This property is required.
Changes to this property will trigger replacement.
string
Keystore Name
OrgId
This property is required.
Changes to this property will trigger replacement.
string
Organization ID associated with the alias, without organization/ prefix
Password string
Password for the PKCS12 file if it's encrypted
alias
This property is required.
Changes to this property will trigger replacement.
String
Alias Name
environment
This property is required.
Changes to this property will trigger replacement.
String
Environment associated with the alias
file
This property is required.
Changes to this property will trigger replacement.
String
PKCS12 file content


filehash
This property is required.
Changes to this property will trigger replacement.
String
Hash of the pkcs file
keystore
This property is required.
Changes to this property will trigger replacement.
String
Keystore Name
orgId
This property is required.
Changes to this property will trigger replacement.
String
Organization ID associated with the alias, without organization/ prefix
password String
Password for the PKCS12 file if it's encrypted
alias
This property is required.
Changes to this property will trigger replacement.
string
Alias Name
environment
This property is required.
Changes to this property will trigger replacement.
string
Environment associated with the alias
file
This property is required.
Changes to this property will trigger replacement.
string
PKCS12 file content


filehash
This property is required.
Changes to this property will trigger replacement.
string
Hash of the pkcs file
keystore
This property is required.
Changes to this property will trigger replacement.
string
Keystore Name
orgId
This property is required.
Changes to this property will trigger replacement.
string
Organization ID associated with the alias, without organization/ prefix
password string
Password for the PKCS12 file if it's encrypted
alias
This property is required.
Changes to this property will trigger replacement.
str
Alias Name
environment
This property is required.
Changes to this property will trigger replacement.
str
Environment associated with the alias
file
This property is required.
Changes to this property will trigger replacement.
str
PKCS12 file content


filehash
This property is required.
Changes to this property will trigger replacement.
str
Hash of the pkcs file
keystore
This property is required.
Changes to this property will trigger replacement.
str
Keystore Name
org_id
This property is required.
Changes to this property will trigger replacement.
str
Organization ID associated with the alias, without organization/ prefix
password str
Password for the PKCS12 file if it's encrypted
alias
This property is required.
Changes to this property will trigger replacement.
String
Alias Name
environment
This property is required.
Changes to this property will trigger replacement.
String
Environment associated with the alias
file
This property is required.
Changes to this property will trigger replacement.
String
PKCS12 file content


filehash
This property is required.
Changes to this property will trigger replacement.
String
Hash of the pkcs file
keystore
This property is required.
Changes to this property will trigger replacement.
String
Keystore Name
orgId
This property is required.
Changes to this property will trigger replacement.
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)
resources:  _:    type: gcp:apigee:KeystoresAliasesPkcs12    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. string
Alias Name
CertsInfos List<KeystoresAliasesPkcs12CertsInfo>
Chain of certificates under this alias. Structure is documented below.
Environment Changes to this property will trigger replacement. string
Environment associated with the alias
File Changes to this property will trigger replacement. string
PKCS12 file content


Filehash Changes to this property will trigger replacement. string
Hash of the pkcs file
Keystore Changes to this property will trigger replacement. string
Keystore Name
OrgId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Alias Name
CertsInfos []KeystoresAliasesPkcs12CertsInfoArgs
Chain of certificates under this alias. Structure is documented below.
Environment Changes to this property will trigger replacement. string
Environment associated with the alias
File Changes to this property will trigger replacement. string
PKCS12 file content


Filehash Changes to this property will trigger replacement. string
Hash of the pkcs file
Keystore Changes to this property will trigger replacement. string
Keystore Name
OrgId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
Alias Name
certsInfos List<KeystoresAliasesPkcs12CertsInfo>
Chain of certificates under this alias. Structure is documented below.
environment Changes to this property will trigger replacement. String
Environment associated with the alias
file Changes to this property will trigger replacement. String
PKCS12 file content


filehash Changes to this property will trigger replacement. String
Hash of the pkcs file
keystore Changes to this property will trigger replacement. String
Keystore Name
orgId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Alias Name
certsInfos KeystoresAliasesPkcs12CertsInfo[]
Chain of certificates under this alias. Structure is documented below.
environment Changes to this property will trigger replacement. string
Environment associated with the alias
file Changes to this property will trigger replacement. string
PKCS12 file content


filehash Changes to this property will trigger replacement. string
Hash of the pkcs file
keystore Changes to this property will trigger replacement. string
Keystore Name
orgId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
Alias Name
certs_infos Sequence[KeystoresAliasesPkcs12CertsInfoArgs]
Chain of certificates under this alias. Structure is documented below.
environment Changes to this property will trigger replacement. str
Environment associated with the alias
file Changes to this property will trigger replacement. str
PKCS12 file content


filehash Changes to this property will trigger replacement. str
Hash of the pkcs file
keystore Changes to this property will trigger replacement. str
Keystore Name
org_id Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
Alias Name
certsInfos List<Property Map>
Chain of certificates under this alias. Structure is documented below.
environment Changes to this property will trigger replacement. String
Environment associated with the alias
file Changes to this property will trigger replacement. String
PKCS12 file content


filehash Changes to this property will trigger replacement. String
Hash of the pkcs file
keystore Changes to this property will trigger replacement. String
Keystore Name
orgId Changes to this property will trigger replacement. 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}}
Copy
$ pulumi import gcp:apigee/keystoresAliasesPkcs12:KeystoresAliasesPkcs12 default {{org_id}}/{{environment}}/{{keystore}}/{{alias}}
Copy

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.