vmware / powerclicore

PowerCLI Core Dockerfile
Apache License 2.0
100 stars 47 forks source link

Add support for `-SaveCredentials` in powerclicore #45

Open mattmoor opened 4 years ago

mattmoor commented 4 years ago

In particular, we'd like to see support for a credential store that we can prepopulate via our binding, so that folks can use vmware/powerclicore to run authenticated scripts as Kubernetes jobs, and in other contexts like functions.

See also: https://github.com/vmware-tanzu/sources-for-knative/issues/42

mcdonamw commented 1 year ago

I'm assuming given there has been no activity on this since original posting in 2020, this request is not in consideration?

atanasa commented 1 year ago

The Windows OS provides credentials encryption while on Linux systems, there is no equivalent. Thus, it is not possible to implement a secure credentials store on the Linux platform.

For that reason, we haven't ported the credential management feature to PowerShell Core.

If you want to store credentials in plain-text, you can use the standard PowerShell command Get-Content to read the credentials from one or more text files into a string variable.

tenthirtyam commented 3 months ago

@atanasa - recommended for closure based on https://github.com/vmware/powerclicore/issues/45#issuecomment-1397051886.

Ryan Johnson Distinguished Engineer, VMware by Broadcom