| --- |
| # ---------------------------------------------------------------------------- |
| # |
| # *** AUTO GENERATED CODE *** Type: MMv1 *** |
| # |
| # ---------------------------------------------------------------------------- |
| # |
| # This file is automatically generated by Magic Modules and manual |
| # changes will be clobbered when the file is regenerated. |
| # |
| # Please read more about how to change this file in |
| # .github/CONTRIBUTING.md. |
| # |
| # ---------------------------------------------------------------------------- |
| subcategory: "Apigee" |
| description: |- |
| An `Environment KeyStore` in Apigee. |
| --- |
| |
| # google\_apigee\_env\_keystore |
| |
| An `Environment KeyStore` in Apigee. |
| |
| |
| To get more information about EnvKeystore, see: |
| |
| * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.keystores/create) |
| * How-to Guides |
| * [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment) |
| |
| |
| ## Argument Reference |
| |
| The following arguments are supported: |
| |
| |
| * `env_id` - |
| (Required) |
| The Apigee environment group associated with the Apigee environment, |
| in the format `organizations/{{org_name}}/environments/{{env_name}}`. |
| |
| |
| - - - |
| |
| |
| * `name` - |
| (Optional) |
| The name of the newly created keystore. |
| |
| |
| ## Attributes Reference |
| |
| In addition to the arguments listed above, the following computed attributes are exported: |
| |
| * `id` - an identifier for the resource with format `{{env_id}}/keystores/{{name}}` |
| |
| * `aliases` - |
| Aliases in this keystore. |
| |
| |
| ## Timeouts |
| |
| This resource provides the following |
| [Timeouts](https://developer.hashicorp.com/terraform/plugin/sdkv2/resources/retries-and-customizable-timeouts) configuration options: |
| |
| - `create` - Default is 1 minutes. |
| - `delete` - Default is 1 minutes. |
| |
| ## Import |
| |
| |
| EnvKeystore can be imported using any of these accepted formats: |
| |
| * `{{env_id}}/keystores/{{name}}` |
| * `{{env_id}}/{{name}}` |
| |
| |
| In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import EnvKeystore using one of the formats above. For example: |
| |
| ```tf |
| import { |
| id = "{{env_id}}/keystores/{{name}}" |
| to = google_apigee_env_keystore.default |
| } |
| ``` |
| |
| When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), EnvKeystore can be imported using one of the formats above. For example: |
| |
| ``` |
| $ terraform import google_apigee_env_keystore.default {{env_id}}/keystores/{{name}} |
| $ terraform import google_apigee_env_keystore.default {{env_id}}/{{name}} |
| ``` |