/secrets-manager/api/v1/password-policies
get all policies
oauth
Required Scopes:
admin
hostsView
service
get all policies
All Scopes
admin
· Admin scope - used for built-in PrivX admin accounthostsManage
· Clients with hosts-manage scopehostsProvisioning
· Deploy script usershostsView
· Clients with hosts-view scopeservice
· Microservice scope - used for communication between PrivX microservicestargetDomainsManage
· Clients with target-domains-manage scopetargetDomainsView
· Clients with target-domains-view scopeuser
· Normal userspolicies 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"
}
]
}
/secrets-manager/api/v1/password-policy
insert a new policy to db
id
string
name
string
required
rotation_interval
string
interval after which to rotate password
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
max_concurrent_checkouts
int
maximum number of concurrent secret checkouts
max_checkout_duration
string
maximum duration of secret checkouts
rotate_on_release
boolean
verify_after_rotation
boolean
created
string
When the object was created. Added by backend
updated
string
When the object was updated. Added by backend
created_by
string
added by backend
updated_by
string
added by backend
{
"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"
}
inserted
{
"id": "5bf77342-221c-11ee-be56-0242ac120002"
}
/secrets-manager/api/v1/password-policy/{id}
get a policy
id
string
required
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"
}
/secrets-manager/api/v1/password-policy/{id}
update a policy
id
string
name
string
required
rotation_interval
string
interval after which to rotate password
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
max_concurrent_checkouts
int
maximum number of concurrent secret checkouts
max_checkout_duration
string
maximum duration of secret checkouts
rotate_on_release
boolean
verify_after_rotation
boolean
created
string
When the object was created. Added by backend
updated
string
When the object was updated. Added by backend
created_by
string
added by backend
updated_by
string
added by backend
{
"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"
}
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"
}
/secrets-manager/api/v1/password-policy/{id}
delete a policy
id
string
required
deleted
Empty response
Was this page helpful?