未知服务:'secretsmanager' 或 AWS Secrets Manager 服务不在 AWS CLI 列表中
Unknown service: 'secretsmanager' or AWS Secrets Manager service is not in the list of AWS CLI
我正在尝试使用 AWS secrets manager 服务来存储密钥。我可以将密钥存储在机密管理器中,但是在使用他们提供的代码检索密钥时,我遇到了这个错误。
UnknownServiceError: Unknown service: 'secretsmanager'. Valid service names are: acm, alexaforbusiness,...
我尝试在 AWS CLI 上进行搜索,但该服务也不在列表中。
aws: error: argument command: Invalid choice, valid choices are:
acm | alexaforbusiness
apigateway | application-autoscaling
appstream | appsync
.
.
.
我需要某种 aws cli 更新吗?可能是因为我使用的 CLI 版本。
然后,我该如何更新它。我试过了
sudo apt-get install -y awscli
它说
awscli is already the newest version (1.11.13-1ubuntu1~16.04.0).
secretsmanager 仅适用于 aws cli 版本 1.15.8 及更高版本
aws --version
aws-cli/1.15.10 Python/2.7.10 Darwin/17.5.0 botocore/1.10.10
我正在尝试使用 AWS secrets manager 服务来存储密钥。我可以将密钥存储在机密管理器中,但是在使用他们提供的代码检索密钥时,我遇到了这个错误。
UnknownServiceError: Unknown service: 'secretsmanager'. Valid service names are: acm, alexaforbusiness,...
我尝试在 AWS CLI 上进行搜索,但该服务也不在列表中。
aws: error: argument command: Invalid choice, valid choices are:
acm | alexaforbusiness
apigateway | application-autoscaling
appstream | appsync
.
.
.
我需要某种 aws cli 更新吗?可能是因为我使用的 CLI 版本。 然后,我该如何更新它。我试过了
sudo apt-get install -y awscli
它说
awscli is already the newest version (1.11.13-1ubuntu1~16.04.0).
secretsmanager 仅适用于 aws cli 版本 1.15.8 及更高版本
aws --version
aws-cli/1.15.10 Python/2.7.10 Darwin/17.5.0 botocore/1.10.10