1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apigee
  5. EnvKeystore
Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi

gcp.apigee.EnvKeystore

Explore with Pulumi AI

An Environment KeyStore in Apigee.

To get more information about EnvKeystore, see:

Create EnvKeystore Resource

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

Constructor syntax

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

@overload
def EnvKeystore(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                env_id: Optional[str] = None,
                name: Optional[str] = None)
func NewEnvKeystore(ctx *Context, name string, args EnvKeystoreArgs, opts ...ResourceOption) (*EnvKeystore, error)
public EnvKeystore(string name, EnvKeystoreArgs args, CustomResourceOptions? opts = null)
public EnvKeystore(String name, EnvKeystoreArgs args)
public EnvKeystore(String name, EnvKeystoreArgs args, CustomResourceOptions options)
type: gcp:apigee:EnvKeystore
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. EnvKeystoreArgs
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. EnvKeystoreArgs
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. EnvKeystoreArgs
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. EnvKeystoreArgs
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. EnvKeystoreArgs
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 envKeystoreResource = new Gcp.Apigee.EnvKeystore("envKeystoreResource", new()
{
    EnvId = "string",
    Name = "string",
});
Copy
example, err := apigee.NewEnvKeystore(ctx, "envKeystoreResource", &apigee.EnvKeystoreArgs{
	EnvId: pulumi.String("string"),
	Name:  pulumi.String("string"),
})
Copy
var envKeystoreResource = new EnvKeystore("envKeystoreResource", EnvKeystoreArgs.builder()
    .envId("string")
    .name("string")
    .build());
Copy
env_keystore_resource = gcp.apigee.EnvKeystore("envKeystoreResource",
    env_id="string",
    name="string")
Copy
const envKeystoreResource = new gcp.apigee.EnvKeystore("envKeystoreResource", {
    envId: "string",
    name: "string",
});
Copy
type: gcp:apigee:EnvKeystore
properties:
    envId: string
    name: string
Copy

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

EnvId
This property is required.
Changes to this property will trigger replacement.
string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


Name Changes to this property will trigger replacement. string
The name of the newly created keystore.
EnvId
This property is required.
Changes to this property will trigger replacement.
string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


Name Changes to this property will trigger replacement. string
The name of the newly created keystore.
envId
This property is required.
Changes to this property will trigger replacement.
String
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. String
The name of the newly created keystore.
envId
This property is required.
Changes to this property will trigger replacement.
string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. string
The name of the newly created keystore.
env_id
This property is required.
Changes to this property will trigger replacement.
str
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. str
The name of the newly created keystore.
envId
This property is required.
Changes to this property will trigger replacement.
String
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. String
The name of the newly created keystore.

Outputs

All input properties are implicitly available as output properties. Additionally, the EnvKeystore 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.

Look up Existing EnvKeystore Resource

Get an existing EnvKeystore 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?: EnvKeystoreState, opts?: CustomResourceOptions): EnvKeystore
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aliases: Optional[Sequence[str]] = None,
        env_id: Optional[str] = None,
        name: Optional[str] = None) -> EnvKeystore
func GetEnvKeystore(ctx *Context, name string, id IDInput, state *EnvKeystoreState, opts ...ResourceOption) (*EnvKeystore, error)
public static EnvKeystore Get(string name, Input<string> id, EnvKeystoreState? state, CustomResourceOptions? opts = null)
public static EnvKeystore get(String name, Output<String> id, EnvKeystoreState state, CustomResourceOptions options)
resources:  _:    type: gcp:apigee:EnvKeystore    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:
Aliases List<string>
Aliases in this keystore.
EnvId Changes to this property will trigger replacement. string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


Name Changes to this property will trigger replacement. string
The name of the newly created keystore.
Aliases []string
Aliases in this keystore.
EnvId Changes to this property will trigger replacement. string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


Name Changes to this property will trigger replacement. string
The name of the newly created keystore.
aliases List<String>
Aliases in this keystore.
envId Changes to this property will trigger replacement. String
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. String
The name of the newly created keystore.
aliases string[]
Aliases in this keystore.
envId Changes to this property will trigger replacement. string
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. string
The name of the newly created keystore.
aliases Sequence[str]
Aliases in this keystore.
env_id Changes to this property will trigger replacement. str
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. str
The name of the newly created keystore.
aliases List<String>
Aliases in this keystore.
envId Changes to this property will trigger replacement. String
The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/environments/{{env_name}}.


name Changes to this property will trigger replacement. String
The name of the newly created keystore.

Import

EnvKeystore can be imported using any of these accepted formats:

  • {{env_id}}/keystores/{{name}}

  • {{env_id}}/{{name}}

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

$ pulumi import gcp:apigee/envKeystore:EnvKeystore default {{env_id}}/keystores/{{name}}
Copy
$ pulumi import gcp:apigee/envKeystore:EnvKeystore default {{env_id}}/{{name}}
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.