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

2 minute read
0

I want to 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 use the AWS Management Console or the AWS Command Line Interface (AWS CLI) to find the BGP authorization key for a hosted virtual interface. Instead, use one of the following methods.

Find the BGP authorization key for a hosted virtual interface

To find the BGP authorization key for a hosted virtual interface, complete one of the following tasks:

  • 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. You can find the BGP authorization key on the Peering tab.
  • Run the following command from the AWS account that owns the physical connection. Replace your physical connection ID with the ID of your physical connection:
    aws directconnect describe-virtual-interfaces --connection-id [your physical connection ID] --region [AWS Region associated with physical connection]
    Note: You can find the BGP authorization key value in the output under the authKey field.
  • If you have multiple virtual interfaces on a Direct Connect connection, then run the following command to find information for a specific virtual interface. 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] --region [AWS Region associated with physical connection]
    Important: For security reasons, don't share your BGP authorization key with AWS Support or any unauthorized parties.
AWS OFFICIAL
AWS OFFICIALUpdated 3 months ago