使用 powershell 创建 AWS Parameter Store key/value 对

Create AWS Parameter Store key/value pair with powershell

有没有办法使用 Powershell 在 AWS 参数存储上创建新的安全 Key/Value 对?是使用 AWSCLI 的唯一解决方法吗?

来自Create a Systems Manager parameter (Tools for Windows PowerShell) - AWS Systems Manager

Write-SSMParameter `
    -Name "parameter-name" `
    -Value "parameter-value" `
    -Type "SecureString"  `
    -KeyId "a KMS CMK ID, a KMS CMK ARN, an alias name, or an alias ARN"

另请参阅:AWS Systems Manager Parameter Store using Powershell