service_impersonation_password_policies
Creates, updates, deletes, gets or lists a service_impersonation_password_policies resource.
Overview​
| Name | service_impersonation_password_policies |
| Type | Resource |
| Id | ovh.email_exchange.service_impersonation_password_policies |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
complexity_enabled | boolean | enable policy for strong and secure passwords (wire: complexityEnabled) |
lockout_duration | integer | number of minutes account will remain locked if it occurs (wire: lockoutDuration) |
lockout_threshold | integer | number of attempts before account is locked (wire: lockoutThreshold) |
max_password_age | integer | maximum number of days that account's password is valid before expiration (wire: maxPasswordAge) |
min_password_age | integer | minimum number of days before being able to change account's password (wire: minPasswordAge) |
min_password_length | integer | minimum number of characters password must contain (wire: minPasswordLength) |
password_history_count | integer | number of historical passwords that cannot be reused (wire: passwordHistoryCount) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | exchange_service, organization_name | Get the impersonation password policy. Returns the password policy of the impersonated user: complexity, minimum length, password age, history and lockout settings. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
exchange_service | string | The internal name of your exchange service (wire: exchangeService) |
organization_name | string | The internal name of your exchange organization (wire: organizationName) |
SELECT examples​
- get
Get the impersonation password policy. Returns the password policy of the impersonated user: complexity, minimum length, password age, history and lockout settings.
SELECT
complexity_enabled,
lockout_duration,
lockout_threshold,
max_password_age,
min_password_age,
min_password_length,
password_history_count
FROM ovh.email_exchange.service_impersonation_password_policies
WHERE exchange_service = '{{ exchange_service }}' -- required
AND organization_name = '{{ organization_name }}' -- required
;