Global InfraGlobal Infra Cloud
Dbaa S Postgres

Create a database hba entry

Creates a new database hba entry.

POST
/api/v1/giservices/dbaas_pg/database_hba_entries

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/giservices/dbaas_pg/database_hba_entries" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "auth_method": "cert",      "database_id": "string",      "rule_name": "string",      "source_addresses": [        "string"      ],      "users": "string"    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "auth_method": "cert",
    "auth_options": "string",
    "connection_type": "host",
    "database_id": "string",
    "rule_id": "string",
    "rule_name": "string",
    "source_addresses": [
      "string"
    ],
    "users": "string"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty