You're viewing **Apigee Edge** documentation.  
[Go to the
**Apigee X** documentation](http://cloud.google.com/apigee/docs). info

## Configuration script

### Command

`./install/kubernetes/webhook-edgemicro-patch.sh`

### Description

An interactive script to create an Edge Microgateway configuration associated
with a Kubernetes namespace.

### Used with

Sidecar deployments only. See [Configure and inject Edge Microgateway](https://docs.apigee.com/api-platform/integrations/kubernetes/k8s-sidecar#configure_automatic_sidecar_injection).

### Parameters

| Parameter | Description |
|---|---|
| `-o, --apigee_org` | (Required) The Apigee organization for which you configured Edge Microgateway. |
| `-e, --apigee_env` | (Required) An environment for which you configured Edge Microgateway. |
| `-v, --virtual_host` | (Optional) Overrides the default virtual hosts, which are "default,secure". Use this option if you have virtual hosts specified for your Edge organization:environment other than these defaults. See the Edge documentation to learn about virtual hosts. |
| `-i, --private` | (Optional) Specify `y`,if you are configuring for Edge Private Cloud. Default is `n`. |
| `-m, --mgmt_url` | (Required for Edge Private Cloud) The URL of the management server for your private cloud instance. |
| `-r, --api_base_path` | (Required for Edge Private Cloud) Specifies the runtime URL for your private cloud instance. |
| `-u, --user` | (Required) Your Apigee username. Typically, this is the email address associated with your Apigee account. You must be an org administrator for the specified organization. |
| `-p, --password` | (Required) Your Apigee account password. |
| `-n, --namespace` | (Optional) The Kubernetes namespace where your application is deployed. Default: `default` |
| `-k, --key` | (Optional) The secret value that was returned when you run the `edgemicro configure` command. If you do not specify a value, a new one will be generated for you. |
| `-s, --secret` | (Optional) The secret value that was returned when you run the `edgemicro configure` command. If you do not specify a value, a new one will be generated for you. |
| `-c, --config_file` | (Optional) Specifies the path to the Edge Microgateway configuration file. If you do not specify a path, one will be generated for you in: `./install/kubernetes/config`. |
| `-t, --token` | (Optional) An Apigee OAuth token generated by running the get_token command. See [Using get_token](https://docs.apigee.com/api-platform/system-administration/using-gettoken) |
| `-h, --help` | (Optional) Output help on the command parameters. |