> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/release-notes/cloudeka-api/ai-vpn/pre-shared-key-ipsec.md).

# Pre-Shared Key IpSec

Pre-Shared Key konfigurasi IpSec

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"AI VPN","description":"API endpoints for AI VPN (base: /core/vpn)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_vpn__response.GeneratePreSharedKey":{"type":"object","properties":{"pre_shared_key":{"type":"string"}}}}},"paths":{"/core/vpn/v1/ipsec/generate-psk":{"get":{"description":"Pre-Shared Key konfigurasi IpSec","tags":["AI VPN","ipsec"],"summary":"Pre-Shared Key IpSec","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_vpn__response.GeneratePreSharedKey"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_vpn__response.GeneratePreSharedKey"}}}}}}}}}
```
