-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #364 from akamai/release/v3.1.0
Release/v3.1.0
- Loading branch information
Showing
593 changed files
with
10,535 additions
and
7,948 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cd /workspace/terraform-provider-akamai | ||
go mod edit -replace github.com/akamai/AkamaiOPEN-edgegrid-golang/v2=../akamaiopen-edgegrid-golang/ | ||
go mod edit -replace github.com/akamai/AkamaiOPEN-edgegrid-golang/v3=../akamaiopen-edgegrid-golang/ | ||
git tag v10.0.0 | ||
goreleaser build --single-target --skip-validate --config ./.goreleaser.yml --output /root/.terraform.d/plugins/registry.terraform.io/akamai/akamai/10.0.0/linux_amd64/terraform-provider-akamai_v10.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
layout: akamai | ||
subcategory: Certificate Provisioning System | ||
--- | ||
|
||
# akamai_cps_csr | ||
|
||
When setting up a third-party enrollment, use the `akamai_cps_csr` data source to retrieve the Certificate Signing Request (CSR) for that enrollment. When you create an enrollment in CPS, you also generate a PEM-formatted CSR. CPS encodes the CSR with a private key using either the RSA or the ECDSA algorithm. The CSR contains all the information the certificate authority (CA) needs to issue your certificate. | ||
|
||
If you're using dual-stacked certificates, you'll see data for both ECDSA and RSA keys. | ||
|
||
``` | ||
<blockquote style="border-left-style: solid; border-left-color: #5bc0de; border-width: 0.25em; padding: 1.33rem; background-color: #e3edf2;"><img src="https://techdocs.akamai.com/terraform-images/img/note.svg" style="float:left; display:inline;" /><div style="overflow:auto;">Dual-stacked certificates are enabled by default for third-party enrollments. | ||
</div></blockquote> | ||
``` | ||
|
||
## Basic usage | ||
|
||
This example shows how to return CSR information for enrollment ID 12345: | ||
|
||
```hcl | ||
provider "akamai" { | ||
edgerc = "../../config/edgerc" | ||
} | ||
data "akamai_cps_csr" "example" { | ||
enrollment_id = 12345 | ||
} | ||
``` | ||
|
||
## Argument reference | ||
|
||
This data source supports this argument: | ||
|
||
* `enrollment_id` - (Required) Unique identifier of the enrollment. | ||
|
||
## Attributes reference | ||
|
||
This data source returns these attributes: | ||
|
||
* `csr_rsa` - Returns CSR information for a certificate that uses the RSA algorithm. | ||
* `csr_ecdsa` - Returns CSR information for a certificate that uses the ECDSA algorithm. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
layout: akamai | ||
subcategory: Certificate Provisioning System | ||
--- | ||
|
||
# akamai_cps_deployments | ||
|
||
Use the `akamai_cps_deployments` data source to retrieve deployed certificates for a specific enrollment. | ||
|
||
You'll see data for ECDSA, RSA, or both depending on the type and number of certificates you uploaded. | ||
|
||
## Basic usage | ||
|
||
This example shows how to return information about deployed certificates for enrollment ID 12345. | ||
|
||
```hcl | ||
provider "akamai" { | ||
edgerc = "../../config/edgerc" | ||
} | ||
data "akamai_cps_deployments" "example" { | ||
enrollment_id = 12345 | ||
} | ||
``` | ||
|
||
## Argument reference | ||
|
||
This data source supports this argument: | ||
|
||
* `enrollment_id` - (Required) Unique identifier of the enrollment. | ||
|
||
## Attributes reference | ||
|
||
This data source returns these attributes: | ||
|
||
* `production_certificate_rsa` - The RSA certificate deployed on the production network. | ||
* `production_certificate_ecdsa` - The ECDSA certificate deployed on the production network. | ||
* `staging_certificate_rsa` - The RSA certificate deployed on the staging network. | ||
* `staging_certificate_ecdsa` - The ECDSA certificate deployed on the staging network. | ||
* `expiry_date` - The expiration date for the certificate in ISO-8601 format. | ||
* `auto_renewal_start_time` - The specific date the automatic renewal will start on. The date is in ISO-8601 format. <br> For DV certificates, CPS automatically starts the renewal process 90 days before the current certificate expires. It then automatically deploys the renewed certificate when it receives it from the CA. <br> For third-party certificates, CPS creates a change. This change is needed to get a new CSR and upload the new certificate. Use the `akamai_cps_enrollments` data source to view pending changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
layout: akamai | ||
subcategory: Certificate Provisioning System | ||
--- | ||
|
||
# akamai_cps_warnings | ||
|
||
Use the `akamai_cps_warnings` data source to return a map of all possible pre- and post-verification warnings. The map includes both the ID needed to acknowledge a warning and a brief description of the issue. | ||
|
||
CPS produces warnings during enrollment creation or after a client uploads the certificate. CPS won't process a change until you acknowledge all warnings. | ||
|
||
You can use the warning IDs returned by this data source to acknowledge or auto-approve warnings. The `akamai_cps_third_party_enrollment` and `akamai_cps_upload_certificate` resources include arguments to help you do this. | ||
|
||
## Basic usage | ||
|
||
This example shows how to return a map of verification warnings: | ||
|
||
```hcl | ||
provider "akamai" { | ||
edgerc = "../config/edgerc" | ||
config_section = "shared_dns" | ||
} | ||
data "akamai_cps_warnings" "example" {} | ||
``` | ||
|
||
## Argument reference | ||
|
||
This data source supports does not support any arguments. | ||
|
||
|
||
## Attributes reference | ||
|
||
This data source returns this attribute: | ||
|
||
* `warnings` - Validation warnings for the current change you're making. Warnings display with an ID and a short description. Unless you auto-approve warnings, you need the ID to acknowledge the change. CPS won't process the change until you acknowledge these warnings. | ||
|
Oops, something went wrong.