[ Web Proxy ]
URL:
Viewing: https://docs.digitalocean.com/reference/pydo/reference/partner_attachments/get_bgp_auth_key/ [Back]  [Original]

pydo.partner_attachments.get_bgp_auth_key() | DigitalOcean Documentation

For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).

pydo.partner_attachments.get_bgp_auth_key()

Generated on 3 Aug 2026 from pydo version v0.40.0

Copy page as Markdown View page as Markdown

Usage

client.partner_attachments.get_bgp_auth_key(
    pa_id="4de7ac8b-495b-4884-9a69-1050c6793cd6",
)
Returns JSONRaises HttpResponseError

Description

To get the current BGP auth key for a partner attachment, send a GET request to /v2/partner_network_connect/attachments/{pa_id}/bgp_auth_key.

Parameters

pa_id string required

A unique identifier for a partner attachment.

Min: 1

Request Sample

Show Request Sample
import os
from pydo import Client

client = Client(token=os.getenv("$DIGITALOCEAN_TOKEN"))

response = client.partner_attachments.get_bgp_auth_key("5a4981aa-9653-4bd1-bef5-d6bff52042e4")

Response Example

Show Response Example
{
  "bgp_auth_key": {
    "value": "secret"
  }
}

More Information

See /v2/partner_network_connect/attachments/{pa_id}/bgp_auth_key in the API reference for additional detail on responses, headers, parameters, and more.

In this article...


We can't find any results for your search.

Try using different keywords or simplifying your search terms.


Web Proxy Viewer  |  New URL  |  Original Page