How can I find the BGP authorization key for my hosted virtual interface?

Last updated: 2020-05-08

How can I find the Border Gateway Protocol (BGP) authorization key for my hosted virtual interface?

Resolution

The BGP authorization key for a hosted virtual interface is available only from the AWS account that owns the physical connection.

You can’t find the BGP authorization key for a hosted virtual interface using either of the following tools:

  • The AWS Management Console
  • The AWS Command Line Interface (AWS CLI) using the "describe-virtual-interfaces" command

Ways to find the BGP authorization key for a hosted virtual interface

  • Download the hosted virtual interface configuration file from the AWS account that owns the physical connection. The configuration file contains the BGP authorization key.
  • The AWS Direct Connect connection owner can find the BGP authorization key in the Direct Connect console. In the console, select the virtual interface, and then choose View details. The BGP authorization key is available on the Peering tab.
  • Run the following command from the AWS account that owns the physical connection. Be sure to replace [your physical connection ID] with the ID of your physical connection.
aws directconnect describe-virtual-interfaces --connection-id [your physical connection ID]

If you have multiple virtual interfaces on a Direct Connect connection, you can find the information for a specific virtual interface with the following command. Be sure to replace [Virtual Interface ID] with the ID of your specific virtual interface.

aws directconnect describe-virtual-interfaces --connection-id [your physical connection ID] --virtual-interface-id [Virtual Interface ID]

Important: For security reasons, don't share your BGP authorization key with AWS Support or any unauthorized parties.


Did this article help you?

Anything we could improve?


Need more help?