Get system configuration
Get the current active system configuration.
The role that performs this operation must have the CapInfoReader
capability.
See Access control for more information about how
capabilities are used to control access to operations.
Possible responses
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 410
- 500
- 503
The request is successful.
- application/toml
db
- object required*conn_max_lifetime_minutes
- integer required*gc
- object required*batch_size
- integer required*retention_period
- integer required*
hostname
- string required*mask_config
- booleanmax_idle_conns
- integer required*max_open_conns
- integer required*max_string_length
- integermax_blob_length
- integermax_token_tags
- integermigration
- object required*auto_run
- boolean required*enable_clean_database_validation
- boolean required*
name
- string required*password
- string required*port
- integer required*require_tls
- boolean required*trace_sql
- boolean required*user
- string required*
devmode
- boolean required*backing_store
- stringgenerate_secrets
- booleanfeatures
- object required*encryption
- boolean required*mask_license
- boolean required*disable_docs
- booleandisable_javascript
- boolean required*disable_idp_jwks
- booleandisable_cc_luhn_validation
- booleananti_tampering
- string
kms
- object required*seed
- string required*uri
- string required*export_seed
- string required*export_uri
- string required*allow_local
- boolean required*
log
- object required*customer_env
- string required*customer_identifier
- string required*customer_region
- string required*datadog_enable
- string required*level
- string required*audit_enable
- boolean required*
sentry
- object required*enable
- boolean required*
service
- object required*admin_api_key
- string required*override_admin_api_key_on_restart
- booleanallow_origins
- stringadmin_may_read_data
- boolean required*pci_restrictions
- booleandefault_page_size
- integer required*set_iam_on_start_only
- booleanupdate_schema_on_start
- booleanforce_access_reason
- boolean required*listen_addr
- string required*max_page_size
- integer required*max_pagination_remaining_count
- integertimeout_seconds
- number required*cache_refresh_interval
- integer required*cache_refresh_timeout
- integerarchive_prune_interval
- integer required*archive_prune_timeout
- integersubstring_index_refresh_interval
- integerlicense
- string required*allowed_http_destinations
- stringallowed_pci_http_destinations
- stringactions_http_call_role
- string
tls
- object required*cert_file
- string required*enable
- boolean required*key_file
- string required*selfsigned
- boolean required*
expiration
- object required*associated_objects
- integer required*tokens
- integer required*unassociated_objects
- integer required*
devmode = true
backing_store = "string"
generate_secrets = true
[db]
conn_max_lifetime_minutes = 0
hostname = "string"
mask_config = true
max_idle_conns = 0
max_open_conns = 0
max_string_length = 0
max_blob_length = 0
max_token_tags = 1
name = "string"
password = "string"
port = 0
require_tls = true
trace_sql = true
user = "string"
[db.gc]
batch_size = 0
retention_period = 0
[db.migration]
auto_run = true
enable_clean_database_validation = true
[features]
encryption = true
mask_license = true
disable_docs = true
disable_javascript = true
disable_idp_jwks = true
disable_cc_luhn_validation = true
anti_tampering = "off"
[kms]
seed = "string"
uri = "string"
export_seed = "string"
export_uri = "string"
allow_local = true
[log]
customer_env = "string"
customer_identifier = "string"
customer_region = "string"
datadog_enable = "string"
level = "string"
audit_enable = true
[sentry]
enable = true
[service]
admin_api_key = "string"
override_admin_api_key_on_restart = true
allow_origins = "string"
admin_may_read_data = true
pci_restrictions = true
default_page_size = 0
set_iam_on_start_only = true
update_schema_on_start = true
force_access_reason = true
listen_addr = "string"
max_page_size = 0
max_pagination_remaining_count = 0
timeout_seconds = 0
cache_refresh_interval = 0
cache_refresh_timeout = 0
archive_prune_interval = 0
archive_prune_timeout = 0
substring_index_refresh_interval = 0
license = "string"
allowed_http_destinations = "string"
allowed_pci_http_destinations = "string"
actions_http_call_role = "string"
[tls]
cert_file = "string"
enable = true
key_file = "string"
selfsigned = true
[expiration]
associated_objects = 0
tokens = 0
unassociated_objects = 0
The request is invalid.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV1001",
"message": "The access reason is missing.",
"context": {
"reason": null
}
}
Authentication credentials are incorrect or missing.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV1005",
"message": "The request is unauthorized.",
"context": {}
}
The caller doesn't have the required access rights.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV1007",
"message": "The operation is forbidden due to missing capabilities.",
"context": {
"username": "WebServer"
}
}
The requested resource is not found.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV1004",
"message": "The collection is not found.",
"context": {}
}
The operation is not allowed.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV1026",
"message": "The operation is not allowed in in-memory mode.",
"context": {}
}
A conflict occurs.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV3218",
"message": "Concurrent conflicting updates to the same object.",
"context": {}
}
Access to a resource that is no longer available occurs.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV1033",
"message": "The resource is gone.",
"context": {}
}
An error occurs on the server.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV1000",
"message": "Something went wrong",
"context": {}
}
The service is unavailable.
- application/json
context
- object required*The error context.
Values of additional properties are stringsExample{
"objectid": "b56dd6aa-35f0-11ed-a261-0242ac120002"
}error_code
- string required*The error code.
message
- string required*The error message.
error_url
- stringThe URL to the error documentation.
{
"error_code": "PV1009",
"message": "The operation timed out on the server.",
"context": {}
}
Code examples