Powershell connection component for AWS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Powershell connection component for AWS

L2 Linker

This is an test environment not an prod. I have configured an connection component for managing AWS instances using AWS CLI through powershell. I am able to successfully launch the connection component. Login process with access keys,secret keys, region and output has happened successfully. When I execute any command it says "AWS was not able to validate the provided access credentials".

 

When I try to connect AWS instances through power shell using remote login, it successfully connect the AWS from PSM server.

 

Tried an another testing, I have connected to PSM server using PSM-RDP and opened powershell issued AWS command it is working fine.

 

I made troubleshoot from AWS side such as NTP issues, .\aws credentials files and server sync issues. I have checked and set those settings still am getting same error.

 

I have validated the keys as well. it is working fine.

 

From Cyberark side, Does opening the powershell seperately from PSM server using connection component changes any settings/configuration of powershell ?

 

Also note, the user logged into powershell was PSM shadow user only. do i have change that to different user while logging in?

 

8 REPLIES 8

L2 Linker

Issue Fixed by logging as different user.

L5 Sessionator

Hi @Sanjay Dahiya​ May how to make this PowerShell connector? I need to have connectors for Azure modules ..

Your inputs would be much appreciated? Is it through command

line? or AutoIT? how to you pass on the actual credentials to PowerShell?

L2 Linker

I used AutoIT to prepare PSM Connector for AWS powershell. For Azure, you can configure in website using https:\\ Shell.azure .com to open powershell for Azure.

L5 Sessionator

Thanks for your reply .. If you don’t mind could you please share your autoIT script for PowerShell (aws) for reference ?

L5 Sessionator

Ok.. Got it @surendran M​  .. Its like a web client for intracting with Azure Resources using powershell or CLI.. Just to clarify, you are not launching powershell client from your PSM Server to connect to AWS, am I right?

I am launching PSM powershell only, i tis potentially high risk. it is testing purpose,so i configured it. We have other options such as open AWScli in Linux/unix box and it can be used instead of powershell. we have configure it AWS login sequence once logged into box.

L2 Linker

Hi, can you please share the document if you have on using Powershell via PSM to open the AWS Cli.

L4 Transporter

Hello @surendran M​ , Could you please share your your autoIT script for PowerShell (AWS)? We would like to test that type of connector, but don`t know how to write it properly. My email is [email protected] . Thank you in advance!

 

  • 921 Views
  • 8 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!