manage password policies
Download Specoauth
Required Scopes:
admin
hostsView
service
get all policies
All Scopes
-
admin
· Admin scope - used for built-in PrivX admin account -
hostsManage
· Clients with hosts-manage scope -
hostsProvisioning
· Deploy script users -
hostsView
· Clients with hosts-view scope -
service
· Microservice scope - used for communication between PrivX microservices -
user
· Normal users
- Flow Type:
- authorization_code
- Auth URL:
- https://api.x.com/v1/auth/auth
- Token URL:
- https://api.x.com/v1/auth/auth
Response
policies array
[
{
"count": 123,
"items": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"rotation_interval": "P30D",
"password_min_length": 123,
"password_max_length": 123,
"use_special_characters": true,
"use_lower_case": true,
"use_upper_case": true,
"use_numbers": true,
"max_versions": 123,
"number_of_retries": 123,
"retry_interval": "PT5M",
"max_concurrent_checkouts": 123,
"max_checkout_duration": "PT3M",
"rotate_on_release": true,
"verify_after_rotation": true,
"created": "2017-01-01T15:05:05Z",
"updated": "2017-01-01T15:05:05Z",
"created_by": "string",
"updated_by": "string"
}
]
}
]
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Error
{
"error_code": "GENERAL_ERROR",
"error_message": "string",
"property": "string",
"details": [
null
]
}
error_code
string
required
Standard error code denoting the error type
- Enum
-
- GENERAL_ERROR
- BAD_REQUEST
- PERMISSION_DENIED
- INVALID_REQUEST_DATA
- REQUIRED_VALUE_MISSING
- VALUE_OUT_OF_BOUNDS
- VALUE_INCORRECT_TYPE
- VALUE_INCORRECT_FORMAT
- VALUE_DUPLICATE
- CONFIGURATION_ERROR
- OUT_OF_RESOURCES
- MAX_LOAD
- TOO_MANY_CONNECTIONS
- DATABASE_ERROR
- CACHE_ERROR
- INTRA_SERVICE_COMMUNICATION_ERROR
error_message
string
Textual, human readable error message
property
string
The property name causing the error
details
array[]
An array of errors describing the error in more detail
reference (error)
recursivearray[object]
- Content Type
- application/json
object
count
int
items
array[object]
object
password policy
id
string
uuid
name
string
required
rotation_interval
string
interval after which to rotate password
- Example
- "P30D"
password_min_length
int
password_max_length
int
use_special_characters
boolean
use_lower_case
boolean
use_upper_case
boolean
use_numbers
boolean
max_versions
int
required
store N last passwords
number_of_retries
int
how many time try recovery before mark account as failed
retry_interval
string
interval between retries
- Example
- "PT5M"
max_concurrent_checkouts
int
maximum number of concurrent secret checkouts
max_checkout_duration
string
maximum duration of secret checkouts
- Example
- "PT3M"
rotate_on_release
boolean
verify_after_rotation
boolean
created
string
date-time
When the object was created. Added by backend
- Example
- "2017-01-01T15:05:05Z"
updated
string
date-time
When the object was updated. Added by backend
- Example
- "2017-01-01T15:05:05Z"
created_by
string
added by backend
updated_by
string
added by backend
id
string
uuid
name
string
required
rotation_interval
string
interval after which to rotate password
- Example
- "P30D"
password_min_length
int
password_max_length
int
use_special_characters
boolean
use_lower_case
boolean
use_upper_case
boolean
use_numbers
boolean
max_versions
int
required
store N last passwords
number_of_retries
int
how many time try recovery before mark account as failed
retry_interval
string
interval between retries
- Example
- "PT5M"
max_concurrent_checkouts
int
maximum number of concurrent secret checkouts
max_checkout_duration
string
maximum duration of secret checkouts
- Example
- "PT3M"
rotate_on_release
boolean
verify_after_rotation
boolean
created
string
date-time
When the object was created. Added by backend
- Example
- "2017-01-01T15:05:05Z"
updated
string
date-time
When the object was updated. Added by backend
- Example
- "2017-01-01T15:05:05Z"
created_by
string
added by backend
updated_by
string
added by backend
oauth
Required Scopes:
admin
insert a new policy to db
All Scopes
-
admin
· Admin scope - used for built-in PrivX admin account -
hostsManage
· Clients with hosts-manage scope -
hostsProvisioning
· Deploy script users -
hostsView
· Clients with hosts-view scope -
service
· Microservice scope - used for communication between PrivX microservices -
user
· Normal users
- Flow Type:
- authorization_code
- Auth URL:
- https://api.x.com/v1/auth/auth
- Token URL:
- https://api.x.com/v1/auth/auth
Request
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"rotation_interval": "P30D",
"password_min_length": 123,
"password_max_length": 123,
"use_special_characters": true,
"use_lower_case": true,
"use_upper_case": true,
"use_numbers": true,
"max_versions": 123,
"number_of_retries": 123,
"retry_interval": "PT5M",
"max_concurrent_checkouts": 123,
"max_checkout_duration": "PT3M",
"rotate_on_release": true,
"verify_after_rotation": true,
"created": "2017-01-01T15:05:05Z",
"updated": "2017-01-01T15:05:05Z",
"created_by": "string",
"updated_by": "string"
}
Response
inserted
{
"id": "5bf77342-221c-11ee-be56-0242ac120002"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Error
{
"error_code": "GENERAL_ERROR",
"error_message": "string",
"property": "string",
"details": [
null
]
}
id
string
uuid
Id of the created resource
error_code
string
required
Standard error code denoting the error type
- Enum
-
- GENERAL_ERROR
- BAD_REQUEST
- PERMISSION_DENIED
- INVALID_REQUEST_DATA
- REQUIRED_VALUE_MISSING
- VALUE_OUT_OF_BOUNDS
- VALUE_INCORRECT_TYPE
- VALUE_INCORRECT_FORMAT
- VALUE_DUPLICATE
- CONFIGURATION_ERROR
- OUT_OF_RESOURCES
- MAX_LOAD
- TOO_MANY_CONNECTIONS
- DATABASE_ERROR
- CACHE_ERROR
- INTRA_SERVICE_COMMUNICATION_ERROR
error_message
string
Textual, human readable error message
property
string
The property name causing the error
details
array[]
An array of errors describing the error in more detail
reference (error)
recursiveid
string
required
oauth
Required Scopes:
admin
get a policy
All Scopes
-
admin
· Admin scope - used for built-in PrivX admin account -
hostsManage
· Clients with hosts-manage scope -
hostsProvisioning
· Deploy script users -
hostsView
· Clients with hosts-view scope -
service
· Microservice scope - used for communication between PrivX microservices -
user
· Normal users
- Flow Type:
- authorization_code
- Auth URL:
- https://api.x.com/v1/auth/auth
- Token URL:
- https://api.x.com/v1/auth/auth
Response
policies array
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"rotation_interval": "P30D",
"password_min_length": 123,
"password_max_length": 123,
"use_special_characters": true,
"use_lower_case": true,
"use_upper_case": true,
"use_numbers": true,
"max_versions": 123,
"number_of_retries": 123,
"retry_interval": "PT5M",
"max_concurrent_checkouts": 123,
"max_checkout_duration": "PT3M",
"rotate_on_release": true,
"verify_after_rotation": true,
"created": "2017-01-01T15:05:05Z",
"updated": "2017-01-01T15:05:05Z",
"created_by": "string",
"updated_by": "string"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Error
{
"error_code": "GENERAL_ERROR",
"error_message": "string",
"property": "string",
"details": [
null
]
}
error_code
string
required
Standard error code denoting the error type
- Enum
-
- GENERAL_ERROR
- BAD_REQUEST
- PERMISSION_DENIED
- INVALID_REQUEST_DATA
- REQUIRED_VALUE_MISSING
- VALUE_OUT_OF_BOUNDS
- VALUE_INCORRECT_TYPE
- VALUE_INCORRECT_FORMAT
- VALUE_DUPLICATE
- CONFIGURATION_ERROR
- OUT_OF_RESOURCES
- MAX_LOAD
- TOO_MANY_CONNECTIONS
- DATABASE_ERROR
- CACHE_ERROR
- INTRA_SERVICE_COMMUNICATION_ERROR
error_message
string
Textual, human readable error message
property
string
The property name causing the error
details
array[]
An array of errors describing the error in more detail
reference (error)
recursiveid
string
uuid
name
string
required
rotation_interval
string
interval after which to rotate password
- Example
- "P30D"
password_min_length
int
password_max_length
int
use_special_characters
boolean
use_lower_case
boolean
use_upper_case
boolean
use_numbers
boolean
max_versions
int
required
store N last passwords
number_of_retries
int
how many time try recovery before mark account as failed
retry_interval
string
interval between retries
- Example
- "PT5M"
max_concurrent_checkouts
int
maximum number of concurrent secret checkouts
max_checkout_duration
string
maximum duration of secret checkouts
- Example
- "PT3M"
rotate_on_release
boolean
verify_after_rotation
boolean
created
string
date-time
When the object was created. Added by backend
- Example
- "2017-01-01T15:05:05Z"
updated
string
date-time
When the object was updated. Added by backend
- Example
- "2017-01-01T15:05:05Z"
created_by
string
added by backend
updated_by
string
added by backend
id
string
uuid
name
string
required
rotation_interval
string
interval after which to rotate password
- Example
- "P30D"
password_min_length
int
password_max_length
int
use_special_characters
boolean
use_lower_case
boolean
use_upper_case
boolean
use_numbers
boolean
max_versions
int
required
store N last passwords
number_of_retries
int
how many time try recovery before mark account as failed
retry_interval
string
interval between retries
- Example
- "PT5M"
max_concurrent_checkouts
int
maximum number of concurrent secret checkouts
max_checkout_duration
string
maximum duration of secret checkouts
- Example
- "PT3M"
rotate_on_release
boolean
verify_after_rotation
boolean
created
string
date-time
When the object was created. Added by backend
- Example
- "2017-01-01T15:05:05Z"
updated
string
date-time
When the object was updated. Added by backend
- Example
- "2017-01-01T15:05:05Z"
created_by
string
added by backend
updated_by
string
added by backend
id
string
required
oauth
Required Scopes:
admin
update a policy
All Scopes
-
admin
· Admin scope - used for built-in PrivX admin account -
hostsManage
· Clients with hosts-manage scope -
hostsProvisioning
· Deploy script users -
hostsView
· Clients with hosts-view scope -
service
· Microservice scope - used for communication between PrivX microservices -
user
· Normal users
- Flow Type:
- authorization_code
- Auth URL:
- https://api.x.com/v1/auth/auth
- Token URL:
- https://api.x.com/v1/auth/auth
Request
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"rotation_interval": "P30D",
"password_min_length": 123,
"password_max_length": 123,
"use_special_characters": true,
"use_lower_case": true,
"use_upper_case": true,
"use_numbers": true,
"max_versions": 123,
"number_of_retries": 123,
"retry_interval": "PT5M",
"max_concurrent_checkouts": 123,
"max_checkout_duration": "PT3M",
"rotate_on_release": true,
"verify_after_rotation": true,
"created": "2017-01-01T15:05:05Z",
"updated": "2017-01-01T15:05:05Z",
"created_by": "string",
"updated_by": "string"
}
Response
inserted
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"name": "string",
"rotation_interval": "P30D",
"password_min_length": 123,
"password_max_length": 123,
"use_special_characters": true,
"use_lower_case": true,
"use_upper_case": true,
"use_numbers": true,
"max_versions": 123,
"number_of_retries": 123,
"retry_interval": "PT5M",
"max_concurrent_checkouts": 123,
"max_checkout_duration": "PT3M",
"rotate_on_release": true,
"verify_after_rotation": true,
"created": "2017-01-01T15:05:05Z",
"updated": "2017-01-01T15:05:05Z",
"created_by": "string",
"updated_by": "string"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Error
{
"error_code": "GENERAL_ERROR",
"error_message": "string",
"property": "string",
"details": [
null
]
}
error_code
string
required
Standard error code denoting the error type
- Enum
-
- GENERAL_ERROR
- BAD_REQUEST
- PERMISSION_DENIED
- INVALID_REQUEST_DATA
- REQUIRED_VALUE_MISSING
- VALUE_OUT_OF_BOUNDS
- VALUE_INCORRECT_TYPE
- VALUE_INCORRECT_FORMAT
- VALUE_DUPLICATE
- CONFIGURATION_ERROR
- OUT_OF_RESOURCES
- MAX_LOAD
- TOO_MANY_CONNECTIONS
- DATABASE_ERROR
- CACHE_ERROR
- INTRA_SERVICE_COMMUNICATION_ERROR
error_message
string
Textual, human readable error message
property
string
The property name causing the error
details
array[]
An array of errors describing the error in more detail
reference (error)
recursiveid
string
uuid
name
string
required
rotation_interval
string
interval after which to rotate password
- Example
- "P30D"
password_min_length
int
password_max_length
int
use_special_characters
boolean
use_lower_case
boolean
use_upper_case
boolean
use_numbers
boolean
max_versions
int
required
store N last passwords
number_of_retries
int
how many time try recovery before mark account as failed
retry_interval
string
interval between retries
- Example
- "PT5M"
max_concurrent_checkouts
int
maximum number of concurrent secret checkouts
max_checkout_duration
string
maximum duration of secret checkouts
- Example
- "PT3M"
rotate_on_release
boolean
verify_after_rotation
boolean
created
string
date-time
When the object was created. Added by backend
- Example
- "2017-01-01T15:05:05Z"
updated
string
date-time
When the object was updated. Added by backend
- Example
- "2017-01-01T15:05:05Z"
created_by
string
added by backend
updated_by
string
added by backend
id
string
required
oauth
Required Scopes:
admin
delete a policy
All Scopes
-
admin
· Admin scope - used for built-in PrivX admin account -
hostsManage
· Clients with hosts-manage scope -
hostsProvisioning
· Deploy script users -
hostsView
· Clients with hosts-view scope -
service
· Microservice scope - used for communication between PrivX microservices -
user
· Normal users
- Flow Type:
- authorization_code
- Auth URL:
- https://api.x.com/v1/auth/auth
- Token URL:
- https://api.x.com/v1/auth/auth
Response
deleted
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
Error
{
"error_code": "GENERAL_ERROR",
"error_message": "string",
"property": "string",
"details": [
null
]
}
error_code
string
required
Standard error code denoting the error type
- Enum
-
- GENERAL_ERROR
- BAD_REQUEST
- PERMISSION_DENIED
- INVALID_REQUEST_DATA
- REQUIRED_VALUE_MISSING
- VALUE_OUT_OF_BOUNDS
- VALUE_INCORRECT_TYPE
- VALUE_INCORRECT_FORMAT
- VALUE_DUPLICATE
- CONFIGURATION_ERROR
- OUT_OF_RESOURCES
- MAX_LOAD
- TOO_MANY_CONNECTIONS
- DATABASE_ERROR
- CACHE_ERROR
- INTRA_SERVICE_COMMUNICATION_ERROR
error_message
string
Textual, human readable error message
property
string
The property name causing the error
details
array[]
An array of errors describing the error in more detail
reference (error)
recursiveWas this page helpful?