# ACM code examples for the SDK for .NET ## Overview Shows how to use the AWS SDK for .NET to work with AWS Certificate Manager (ACM). *ACM helps you to provision, manage, and renew publicly trusted TLS certificates on AWS based websites.* ## ⚠ Important * Running this code might result in charges to your AWS account. For more details, see [AWS Pricing](https://aws.amazon.com/pricing/?aws-products-pricing.sort-by=item.additionalFields.productNameLowercase&aws-products-pricing.sort-order=asc&awsf.Free%20Tier%20Type=*all&awsf.tech-category=*all) and [Free Tier](https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all). * Running the tests might result in charges to your AWS account. * We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task. For more information, see [Grant least privilege](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege). * This code is not tested in every AWS Region. For more information, see [AWS Regional Services](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services). ## Code examples ### Prerequisites For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv3` folder. ### Single actions Code excerpts that show you how to call individual service functions. * [Describe a certificate](DescribeCertificates/DescribeCertificate/DescribeCertificate.cs#L4) (`DescribeCertificate`) * [List certificates](ListCertificates/ListCertificates/ListCertificates.cs#L4) (`ListCertificates`) ## Run the examples ### Instructions For general instructions to run the examples, see the [README](../README.md#building-and-running-the-code-examples) in the `dotnetv3` folder. Some projects might include a settings.json file. Before compiling the project, you can change these values to match your own account and resources. Alternatively, add a settings.local.json file with your local settings, which will be loaded automatically when the application runs. After the example compiles, you can run it from the command line. To do so, navigate to the folder that contains the .csproj file and run the following command: ``` dotnet run ``` Alternatively, you can run the example from within your IDE. ### Tests ⚠ Running tests might result in charges to your AWS account. To find instructions for running these tests, see the [README](../README.md#Tests) in the `dotnetv3` folder. ## Additional resources * [ACM User Guide](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) * [ACM API Reference](https://docs.aws.amazon.com/acm/latest/APIReference/Welcome.html) * [SDK for .NET ACM reference](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/CertificateManager/NCertificateManager.html) --- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0