Skip to main content

service_impersonation_password_policies

Creates, updates, deletes, gets or lists a service_impersonation_password_policies resource.

Overview​

Nameservice_impersonation_password_policies
TypeResource
Idovh.email_exchange.service_impersonation_password_policies

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
complexity_enabledbooleanenable policy for strong and secure passwords (wire: complexityEnabled)
lockout_durationintegernumber of minutes account will remain locked if it occurs (wire: lockoutDuration)
lockout_thresholdintegernumber of attempts before account is locked (wire: lockoutThreshold)
max_password_ageintegermaximum number of days that account's password is valid before expiration (wire: maxPasswordAge)
min_password_ageintegerminimum number of days before being able to change account's password (wire: minPasswordAge)
min_password_lengthintegerminimum number of characters password must contain (wire: minPasswordLength)
password_history_countintegernumber of historical passwords that cannot be reused (wire: passwordHistoryCount)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectexchange_service, organization_nameGet 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.

NameDatatypeDescription
api_hoststringThe 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_servicestringThe internal name of your exchange service (wire: exchangeService)
organization_namestringThe internal name of your exchange organization (wire: organizationName)

SELECT examples​

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
;