AWS Signer Signing Profile
This page shows how to write Terraform and CloudFormation for Signer Signing Profile and write them securely.
aws_signer_signing_profile (Terraform)
The Signing Profile in Signer can be configured in Terraform with the resource name aws_signer_signing_profile
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_signer_signing_profile" "abc-signer-profile" {
name_prefix = "abc_"
platform_id = "AWSLambda-SHA384-ECDSA"
tags = var.tags
}
resource "aws_signer_signing_profile" "example" {
name_prefix = "example"
platform_id = "AWSLambda-SHA384-ECDSA"
}
resource "aws_lambda_code_signing_config" "example" {
allowed_publishers {
Parameters
-
arn
optional computed - string -
id
optional computed - string -
name
optional computed - string -
name_prefix
optional - string -
platform_display_name
optional computed - string -
platform_id
required - string -
revocation_record
optional computed - list of object-
revocation_effective_from
- string -
revoked_at
- string -
revoked_by
- string
-
-
status
optional computed - string -
tags
optional - map from string to string -
version
optional computed - string -
version_arn
optional computed - string -
signature_validity_period
list block
Explanation in Terraform Registry
Creates a Signer Signing Profile. A signing profile contains information about the code signing configuration parameters that can be used by a given code signing user.
AWS::Signer::SigningProfile (CloudFormation)
The SigningProfile in Signer can be configured in CloudFormation with the resource name AWS::Signer::SigningProfile
. The following sections describe 10 examples of how to use the resource and its parameters.
Example Usage from GitHub
Type: AWS::Signer::SigningProfile
Properties:
PlatformId: !Ref pPlatformId
SignatureValidityPeriod:
Type: DAYS
Value: 31
Type: AWS::Signer::SigningProfile
Properties:
PlatformId: "AWSLambda-SHA384-ECDSA"
SignatureValidityPeriod:
Type: MONTHS
Value: 6
Type: AWS::Signer::SigningProfile
Properties:
Type: AWS::Signer::SigningProfile
Properties:
Type: AWS::Signer::SigningProfile
Properties:
"Type": "AWS::Signer::SigningProfile",
"Properties": {
"PlatformId": "AWSLambda-SHA384-ECDSA"
}
}
}
"Type": "AWS::Signer::SigningProfile",
"Properties": {
"PlatformId": "AWSLambda-SHA384-ECDSA"
}
}
}
"Type": "AWS::Signer::SigningProfile",
"Properties": {
"PlatformId": "AWSLambda-SHA384-ECDSA"
}
}
}
{ "LogicalResourceId":"MySigningProfile", "ResourceType":"AWS::Signer::SigningProfile" },
{ "LogicalResourceId":"MySignedFunctionCodeSigningConfig", "ResourceType":"AWS::Lambda::CodeSigningConfig" }
"AWS::Signer::SigningProfile": {
"Type": "AWS::Signer::SigningProfile",
"Properties": {}
},
"AWS::IoTSiteWise::Gateway": {
"Type": "AWS::IoTSiteWise::Gateway",
Parameters
-
SignatureValidityPeriod
optional - SignatureValidityPeriod -
PlatformId
required - String -
Tags
optional - List of Tag
Explanation in CloudFormation Registry
Creates a signing profile. A signing profile is a code signing template that can be used to carry out a pre-defined signing job.
Frequently asked questions
What is AWS Signer Signing Profile?
AWS Signer Signing Profile is a resource for Signer of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS Signer Signing Profile?
For Terraform, the karl-cardenas-coding/aws-code-signing-example and cloudskiff/driftctl source code examples are useful. See the Terraform Example section for further details.
For CloudFormation, the heeki/lambda_testing, remy-bresson/pileFace and rawhideron/mav_0122 source code examples are useful. See the CloudFormation Example section for further details.