gcp.apigee.KeystoresAliasesPkcs12
Explore with Pulumi AI
An alias from a pkcs12 file.
To get more information about KeystoresAliasesPkcs12, see:
- API documentation
- How-to Guides
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",
});
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
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.
- Alias Name
- Environment
This property is required. Changes to this property will trigger replacement.
- Environment associated with the alias
- File
This property is required. Changes to this property will trigger replacement.
- PKCS12 file content
- Filehash
This property is required. Changes to this property will trigger replacement.
- Hash of the pkcs file
- Keystore
This property is required. Changes to this property will trigger replacement.
- Keystore Name
- Org
Id This property is required. Changes to this property will trigger replacement.
- 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.
- Alias Name
- Environment
This property is required. Changes to this property will trigger replacement.
- Environment associated with the alias
- File
This property is required. Changes to this property will trigger replacement.
- PKCS12 file content
- Filehash
This property is required. Changes to this property will trigger replacement.
- Hash of the pkcs file
- Keystore
This property is required. Changes to this property will trigger replacement.
- Keystore Name
- Org
Id This property is required. Changes to this property will trigger replacement.
- 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.
- Alias Name
- environment
This property is required. Changes to this property will trigger replacement.
- Environment associated with the alias
- file
This property is required. Changes to this property will trigger replacement.
- PKCS12 file content
- filehash
This property is required. Changes to this property will trigger replacement.
- Hash of the pkcs file
- keystore
This property is required. Changes to this property will trigger replacement.
- Keystore Name
- org
Id This property is required. Changes to this property will trigger replacement.
- 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.
- Alias Name
- environment
This property is required. Changes to this property will trigger replacement.
- Environment associated with the alias
- file
This property is required. Changes to this property will trigger replacement.
- PKCS12 file content
- filehash
This property is required. Changes to this property will trigger replacement.
- Hash of the pkcs file
- keystore
This property is required. Changes to this property will trigger replacement.
- Keystore Name
- org
Id This property is required. Changes to this property will trigger replacement.
- 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.
- Alias Name
- environment
This property is required. Changes to this property will trigger replacement.
- Environment associated with the alias
- file
This property is required. Changes to this property will trigger replacement.
- PKCS12 file content
- filehash
This property is required. Changes to this property will trigger replacement.
- Hash of the pkcs file
- keystore
This property is required. Changes to this property will trigger replacement.
- Keystore Name
- org_
id This property is required. Changes to this property will trigger replacement.
- 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.
- Alias Name
- environment
This property is required. Changes to this property will trigger replacement.
- Environment associated with the alias
- file
This property is required. Changes to this property will trigger replacement.
- PKCS12 file content
- filehash
This property is required. Changes to this property will trigger replacement.
- Hash of the pkcs file
- keystore
This property is required. Changes to this property will trigger replacement.
- Keystore Name
- org
Id This property is required. Changes to this property will trigger replacement.
- 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:
- Certs
Infos List<KeystoresAliases Pkcs12Certs Info> - 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 []KeystoresAliases Pkcs12Certs Info - 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 List<KeystoresAliases Pkcs12Certs Info> - 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 KeystoresAliases Pkcs12Certs Info[] - 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[KeystoresAliases Pkcs12Certs Info] - 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
- certs
Infos 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.
- Alias
Changes to this property will trigger replacement.
- Alias Name
- Certs
Infos List<KeystoresAliases Pkcs12Certs Info> - Chain of certificates under this alias. Structure is documented below.
- Environment
Changes to this property will trigger replacement.
- Environment associated with the alias
- File
Changes to this property will trigger replacement.
- PKCS12 file content
- Filehash
Changes to this property will trigger replacement.
- Hash of the pkcs file
- Keystore
Changes to this property will trigger replacement.
- Keystore Name
- Org
Id Changes to this property will trigger replacement.
- 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.
- Alias Name
- Certs
Infos []KeystoresAliases Pkcs12Certs Info Args - Chain of certificates under this alias. Structure is documented below.
- Environment
Changes to this property will trigger replacement.
- Environment associated with the alias
- File
Changes to this property will trigger replacement.
- PKCS12 file content
- Filehash
Changes to this property will trigger replacement.
- Hash of the pkcs file
- Keystore
Changes to this property will trigger replacement.
- Keystore Name
- Org
Id Changes to this property will trigger replacement.
- 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.
- Alias Name
- certs
Infos List<KeystoresAliases Pkcs12Certs Info> - Chain of certificates under this alias. Structure is documented below.
- environment
Changes to this property will trigger replacement.
- Environment associated with the alias
- file
Changes to this property will trigger replacement.
- PKCS12 file content
- filehash
Changes to this property will trigger replacement.
- Hash of the pkcs file
- keystore
Changes to this property will trigger replacement.
- Keystore Name
- org
Id Changes to this property will trigger replacement.
- 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.
- Alias Name
- certs
Infos KeystoresAliases Pkcs12Certs Info[] - Chain of certificates under this alias. Structure is documented below.
- environment
Changes to this property will trigger replacement.
- Environment associated with the alias
- file
Changes to this property will trigger replacement.
- PKCS12 file content
- filehash
Changes to this property will trigger replacement.
- Hash of the pkcs file
- keystore
Changes to this property will trigger replacement.
- Keystore Name
- org
Id Changes to this property will trigger replacement.
- 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.
- Alias Name
- certs_
infos Sequence[KeystoresAliases Pkcs12Certs Info Args] - Chain of certificates under this alias. Structure is documented below.
- environment
Changes to this property will trigger replacement.
- Environment associated with the alias
- file
Changes to this property will trigger replacement.
- PKCS12 file content
- filehash
Changes to this property will trigger replacement.
- Hash of the pkcs file
- keystore
Changes to this property will trigger replacement.
- Keystore Name
- org_
id Changes to this property will trigger replacement.
- 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.
- Alias Name
- certs
Infos List<Property Map> - Chain of certificates under this alias. Structure is documented below.
- environment
Changes to this property will trigger replacement.
- Environment associated with the alias
- file
Changes to this property will trigger replacement.
- PKCS12 file content
- filehash
Changes to this property will trigger replacement.
- Hash of the pkcs file
- keystore
Changes to this property will trigger replacement.
- Keystore Name
- org
Id Changes to this property will trigger replacement.
- 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
- Cert
Infos List<KeystoresAliases Pkcs12Certs Info Cert Info> - (Output) List of all properties in the object. Structure is documented below.
- Cert
Infos []KeystoresAliases Pkcs12Certs Info Cert Info - (Output) List of all properties in the object. Structure is documented below.
- cert
Infos List<KeystoresAliases Pkcs12Certs Info Cert Info> - (Output) List of all properties in the object. Structure is documented below.
- cert
Infos KeystoresAliases Pkcs12Certs Info Cert Info[] - (Output) List of all properties in the object. Structure is documented below.
- cert_
infos Sequence[KeystoresAliases Pkcs12Certs Info Cert Info] - (Output) List of all properties in the object. Structure is documented below.
- cert
Infos List<Property Map> - (Output) List of all properties in the object. Structure is documented below.
KeystoresAliasesPkcs12CertsInfoCertInfo, KeystoresAliasesPkcs12CertsInfoCertInfoArgs
- Basic
Constraints string - (Output) X.509 basic constraints extension.
- Expiry
Date string - (Output) X.509 notAfter validity period in milliseconds since epoch.
- Is
Valid 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.
- Public
Key string - (Output) Public key component of the X.509 subject public key info.
- Serial
Number string - (Output) X.509 serial number.
- Sig
Alg stringName - (Output) X.509 signatureAlgorithm.
- Subject string
- (Output) X.509 subject.
- Subject
Alternative List<string>Names - (Output) X.509 subject alternative names (SANs) extension.
- Valid
From string - (Output) X.509 notBefore validity period in milliseconds since epoch.
- Version int
- (Output) X.509 version.
- Basic
Constraints string - (Output) X.509 basic constraints extension.
- Expiry
Date string - (Output) X.509 notAfter validity period in milliseconds since epoch.
- Is
Valid 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.
- Public
Key string - (Output) Public key component of the X.509 subject public key info.
- Serial
Number string - (Output) X.509 serial number.
- Sig
Alg stringName - (Output) X.509 signatureAlgorithm.
- Subject string
- (Output) X.509 subject.
- Subject
Alternative []stringNames - (Output) X.509 subject alternative names (SANs) extension.
- Valid
From string - (Output) X.509 notBefore validity period in milliseconds since epoch.
- Version int
- (Output) X.509 version.
- basic
Constraints String - (Output) X.509 basic constraints extension.
- expiry
Date String - (Output) X.509 notAfter validity period in milliseconds since epoch.
- is
Valid 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.
- public
Key String - (Output) Public key component of the X.509 subject public key info.
- serial
Number String - (Output) X.509 serial number.
- sig
Alg StringName - (Output) X.509 signatureAlgorithm.
- subject String
- (Output) X.509 subject.
- subject
Alternative List<String>Names - (Output) X.509 subject alternative names (SANs) extension.
- valid
From String - (Output) X.509 notBefore validity period in milliseconds since epoch.
- version Integer
- (Output) X.509 version.
- basic
Constraints string - (Output) X.509 basic constraints extension.
- expiry
Date string - (Output) X.509 notAfter validity period in milliseconds since epoch.
- is
Valid 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.
- public
Key string - (Output) Public key component of the X.509 subject public key info.
- serial
Number string - (Output) X.509 serial number.
- sig
Alg stringName - (Output) X.509 signatureAlgorithm.
- subject string
- (Output) X.509 subject.
- subject
Alternative string[]Names - (Output) X.509 subject alternative names (SANs) extension.
- valid
From 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_ strname - (Output) X.509 signatureAlgorithm.
- subject str
- (Output) X.509 subject.
- subject_
alternative_ Sequence[str]names - (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.
- basic
Constraints String - (Output) X.509 basic constraints extension.
- expiry
Date String - (Output) X.509 notAfter validity period in milliseconds since epoch.
- is
Valid 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.
- public
Key String - (Output) Public key component of the X.509 subject public key info.
- serial
Number String - (Output) X.509 serial number.
- sig
Alg StringName - (Output) X.509 signatureAlgorithm.
- subject String
- (Output) X.509 subject.
- subject
Alternative List<String>Names - (Output) X.509 subject alternative names (SANs) extension.
- valid
From 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.