AWS code-library documentation change
Summary
Added PowerShell V5 examples for RequestCertificate operation
Security assessment
Demonstrates certificate provisioning, a security feature, but no evidence of addressing a security vulnerability.
Diff
diff --git a/code-library/latest/ug/acm_example_acm_RequestCertificate_section.md b/code-library/latest/ug/acm_example_acm_RequestCertificate_section.md index cbd21895e..9ecaaaf57 100644 --- a//code-library/latest/ug/acm_example_acm_RequestCertificate_section.md +++ b//code-library/latest/ug/acm_example_acm_RequestCertificate_section.md @@ -219,0 +220,30 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: Creates a new certificate. The service returns the ARN of the new certificate.** + + + New-ACMCertificate -DomainName "www.example.com" + + +**Output:** + + + arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 + +**Example 2: Creates a new certificate. The service returns the ARN of the new certificate.** + + + New-ACMCertificate -DomainName "www.example.com" -SubjectAlternativeName "example.com","www.example.net" + + +**Output:** + + + arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 + + * For API details, see [RequestCertificate](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +