I hereby claim:
- I am imfioki on github.
- I am bgar (https://keybase.io/bgar) on keybase.
- I have a public key ASBAj3rcZoF4rPSyrqCwj-O709dEY8V6l8qPfH5IHDclygo
To claim this, I am signing this object:
| # Download and install .NET assembly at: https://winscp.net/eng/downloads.php#additional | |
| # This process will send SNS notifications upload upload failure. | |
| # Define connection parameters and globals | |
| $server = '<127.0.0.1>' | |
| $sftpUser = '<sftp_user>' | |
| $ssmParam = '<sftp_password>' | |
| $awsRegion = '<us-east-1>' | |
| $snsTopic = '<sns_topic>' | |
| $snsSubject = 'An error has occurred in production SFTP[IAM]' | |
| $sftp_pass = (Get-SSMParameter -Region $awsRegion -Name $ssmParam -WithDecryption $true).Value |
| # Here's a brisk tutorial on a basic method of reporting within Powershell. | |
| # Yes, I know custom objects exist. :) | |
| # Define the name for our table | |
| $tableName = "<table_name>" | |
| # Create the table object | |
| $table = New-Object System.Data.DataTable "$tableName" | |
| # Define columns for the table |
I hereby claim:
To claim this, I am signing this object: