1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  6. Keystore

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.apigee/v1.Keystore

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a keystore or truststore. - Keystore: Contains certificates and their associated keys. - Truststore: Contains trusted certificates used to validate a server’s certificate. These certificates are typically self-signed certificates or certificates that are not signed by a trusted CA.

Create Keystore Resource

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

Constructor syntax

new Keystore(name: string, args: KeystoreArgs, opts?: CustomResourceOptions);
@overload
def Keystore(resource_name: str,
             args: KeystoreArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def Keystore(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             environment_id: Optional[str] = None,
             organization_id: Optional[str] = None,
             name: Optional[str] = None)
func NewKeystore(ctx *Context, name string, args KeystoreArgs, opts ...ResourceOption) (*Keystore, error)
public Keystore(string name, KeystoreArgs args, CustomResourceOptions? opts = null)
public Keystore(String name, KeystoreArgs args)
public Keystore(String name, KeystoreArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:Keystore
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. KeystoreArgs
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. KeystoreArgs
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. KeystoreArgs
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. KeystoreArgs
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. KeystoreArgs
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 keystoreResource = new GoogleNative.Apigee.V1.Keystore("keystoreResource", new()
{
    EnvironmentId = "string",
    OrganizationId = "string",
    Name = "string",
});
Copy
example, err := apigee.NewKeystore(ctx, "keystoreResource", &apigee.KeystoreArgs{
	EnvironmentId:  pulumi.String("string"),
	OrganizationId: pulumi.String("string"),
	Name:           pulumi.String("string"),
})
Copy
var keystoreResource = new Keystore("keystoreResource", KeystoreArgs.builder()
    .environmentId("string")
    .organizationId("string")
    .name("string")
    .build());
Copy
keystore_resource = google_native.apigee.v1.Keystore("keystoreResource",
    environment_id="string",
    organization_id="string",
    name="string")
Copy
const keystoreResource = new google_native.apigee.v1.Keystore("keystoreResource", {
    environmentId: "string",
    organizationId: "string",
    name: "string",
});
Copy
type: google-native:apigee/v1:Keystore
properties:
    environmentId: string
    name: string
    organizationId: string
Copy

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

EnvironmentId
This property is required.
Changes to this property will trigger replacement.
string
OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
Name string
Resource ID for this keystore. Values must match the regular expression [\w[:space:].-]{1,255}.
EnvironmentId
This property is required.
Changes to this property will trigger replacement.
string
OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
Name string
Resource ID for this keystore. Values must match the regular expression [\w[:space:].-]{1,255}.
environmentId
This property is required.
Changes to this property will trigger replacement.
String
organizationId
This property is required.
Changes to this property will trigger replacement.
String
name String
Resource ID for this keystore. Values must match the regular expression [\w[:space:].-]{1,255}.
environmentId
This property is required.
Changes to this property will trigger replacement.
string
organizationId
This property is required.
Changes to this property will trigger replacement.
string
name string
Resource ID for this keystore. Values must match the regular expression [\w[:space:].-]{1,255}.
environment_id
This property is required.
Changes to this property will trigger replacement.
str
organization_id
This property is required.
Changes to this property will trigger replacement.
str
name str
Resource ID for this keystore. Values must match the regular expression [\w[:space:].-]{1,255}.
environmentId
This property is required.
Changes to this property will trigger replacement.
String
organizationId
This property is required.
Changes to this property will trigger replacement.
String
name String
Resource ID for this keystore. Values must match the regular expression [\w[:space:].-]{1,255}.

Outputs

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

Aliases List<string>
Aliases in this keystore.
Id string
The provider-assigned unique ID for this managed resource.
Aliases []string
Aliases in this keystore.
Id string
The provider-assigned unique ID for this managed resource.
aliases List<String>
Aliases in this keystore.
id String
The provider-assigned unique ID for this managed resource.
aliases string[]
Aliases in this keystore.
id string
The provider-assigned unique ID for this managed resource.
aliases Sequence[str]
Aliases in this keystore.
id str
The provider-assigned unique ID for this managed resource.
aliases List<String>
Aliases in this keystore.
id String
The provider-assigned unique ID for this managed resource.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi