aws-lambda-dotnet icon indicating copy to clipboard operation
aws-lambda-dotnet copied to clipboard

Publish-AWSPowerShellLambda missing credential parameter

Open ghost opened this issue 6 years ago • 2 comments

All other PowerShell cmdlet support -credential parameter (https://docs.aws.amazon.com/powershell/latest/reference/Index.html) I don't see a reason for this to not do this as well.

Describe the Feature

Add -credential parameter

-Credential

Required? False
Position? Named
Accept pipeline input? True (ByValue, ByPropertyName)

Is your Feature Request related to a problem?

No

Describe alternatives you've considered

Manually setting and managing Credentials using Set-AWSCredential

Additional Context

Environment


This is a :rocket: Feature Request

ghost avatar Dec 02 '20 10:12 ghost

This is impacting me, too. My only PS Profile is to our AWS Org's parent Account, then I am accustomed to using Switch Role to get an ephemeral Credential for the child Account I am targeting. Without the ability to specify Credential I am limited to only deploying to the parent ... or creating new IAM Users (with associated access-keys) for every child Account, then creating lots of add'l PS Profiles on my workstation ...

Also, a better URL to demonstrate that this cmd is owned by AWS, https://docs.aws.amazon.com/lambda/latest/dg/powershell-devenv.html

sdsalsero avatar Sep 02 '21 00:09 sdsalsero

Appears to be a valid feature request. This CmdLet resides in aws-lambda-dotnet repository, hence might be the reason for different design and missing parameter. Needs review with the team.

ashishdhingra avatar Jan 25 '22 17:01 ashishdhingra