Name | Type | Description | Notes |
---|---|---|---|
secret | models::Secret | ||
key | String | Proxy Config is set to enable the Permit Proxy to make proxied requests as part of the Frontend AuthZ. | |
name | String | The name of the proxy config, for example: 'Stripe API' | |
mapping_rules | Option<Vecmodels::MappingRule> | Proxy config mapping rules will include the rules that will be used to map the request to the backend service by a URL and a http method. | [optional][default to []] |
auth_mechanism | Option<models::AuthMechanism> | Proxy config auth mechanism will define the authentication mechanism that will be used to authenticate the request. Bearer injects the secret into the Authorization header as a Bearer token, Basic injects the secret into the Authorization header as a Basic user:password, Headers injects plain headers into the request. | [optional][default to Bearer] |