AWS cli documentation change
Summary
Updated AWS CLI version reference and changed parameter name from CHEF_NODE_PUBLIC_KEY to CHEF_AUTOMATE_NODE_PUBLIC_KEY in example command
Security assessment
The parameter name change clarifies a security-related authentication key requirement for Chef API access. While not directly fixing a security issue, it improves documentation accuracy for security-sensitive configuration.
Diff
diff --git a/cli/latest/reference/opsworkscm/associate-node.md b/cli/latest/reference/opsworkscm/associate-node.md index c5588a7a6..603af8787 100644 --- a//cli/latest/reference/opsworkscm/associate-node.md +++ b//cli/latest/reference/opsworkscm/associate-node.md @@ -13 +13 @@ - * [AWS CLI 2.27.49 Command Reference](../../index.html) » + * [AWS CLI 2.27.50 Command Reference](../../index.html) » @@ -55 +55 @@ On a Chef server: This command is an alternative to `knife bootstrap` . -Example (Chef): `aws opsworks-cm associate-node --server-name *MyServer* --node-name *MyManagedNode* --engine-attributes "Name=*CHEF_ORGANIZATION* ,Value=default" "Name=*CHEF_NODE_PUBLIC_KEY* ,Value=*public-key-pem* "` +Example (Chef): `aws opsworks-cm associate-node --server-name *MyServer* --node-name *MyManagedNode* --engine-attributes "Name=*CHEF_ORGANIZATION* ,Value=default" "Name=*CHEF_AUTOMATE_NODE_PUBLIC_KEY* ,Value=*public-key-pem* "` @@ -61 +61 @@ Example (Puppet): `aws opsworks-cm associate-node --server-name *MyServer* --nod -A node can can only be associated with servers that are in a `HEALTHY` state. Otherwise, an `InvalidStateException` is thrown. A `ResourceNotFoundException` is thrown when the server does not exist. A `ValidationException` is raised when parameters of the request are not valid. The AssociateNode API call can be integrated into Auto Scaling configurations, AWS Cloudformation templates, or the user data of a server’s instance. +A node can can only be associated with servers that are in a `HEALTHY` state. Otherwise, an `InvalidStateException` is thrown. A `ResourceNotFoundException` is thrown when the server does not exist. A `ValidationException` is raised when parameters of the request are not valid. The AssociateNode API call can be integrated into Auto Scaling configurations, CloudFormation templates, or the user data of a server’s instance. @@ -111 +111 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/opswor -> * `CHEF_NODE_PUBLIC_KEY` : A PEM-formatted public key. This key is required for the `chef-client` agent to access the Chef API. +> * `CHEF_AUTOMATE_NODE_PUBLIC_KEY` : A PEM-formatted public key. This key is required for the `chef-client` agent to access the Chef API. @@ -285 +285 @@ NodeAssociationStatusToken -> (string) - * [AWS CLI 2.27.49 Command Reference](../../index.html) » + * [AWS CLI 2.27.50 Command Reference](../../index.html) »