AWS VPN Client + SAML SSO automation using CLI?

0

Hi!

I've created a periodic python script accessing AWS instances that should only be accessed via VPN. I cant use OpenVPN client since we use SAML auth for the VPN client and I cant find any KB for AWS VPN Client CLI options.

do anyone know a way to use AWS VPN Client using CLI? mainly 2x commands - Connect & Disconnect.

Thanks!

Shahar
質問済み 3ヶ月前119ビュー
2回答
1
承認された回答

Unfortunately, AWS VPN Client doesn't have CLI options for direct connection and disconnection. You can leverage AWS Systems Manager Session Manager to SSH into EC2 instances securely without needing a VPN client. Alternatively, consider automating the VPN client

profile picture
エキスパート
回答済み 3ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
0

Thanks for the answer.

That's a shame, could be useful... but anyway I guess I'll just wrapped the code in a docker inside that env (I hoped to avoid it if possible).

Thanks again! Shahar

Shahar
回答済み 3ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ