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

signer.tf#L4
resource "aws_signer_signing_profile" "abc-signer-profile" {
  name_prefix = "abc_"
  platform_id = "AWSLambda-SHA384-ECDSA"

  tags = var.tags
}
main.tf#L6
resource "aws_signer_signing_profile" "example" {
  name_prefix = "example"
  platform_id = "AWSLambda-SHA384-ECDSA"
}
resource "aws_lambda_code_signing_config" "example" {
  allowed_publishers {

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

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

signer.yaml#L9
    Type: AWS::Signer::SigningProfile
    Properties:
      PlatformId: !Ref pPlatformId
      SignatureValidityPeriod:
        Type: DAYS
        Value: 31
samSigning.yaml#L7
    Type: AWS::Signer::SigningProfile
    Properties:
      PlatformId: "AWSLambda-SHA384-ECDSA"
      SignatureValidityPeriod:
        Type: MONTHS
        Value: 6
function_with_signing_profile.yaml#L22
    Type: AWS::Signer::SigningProfile
    Properties:
function_with_signing_profile.yaml#L22
    Type: AWS::Signer::SigningProfile
    Properties:
function_with_signing_profile.yaml#L22
    Type: AWS::Signer::SigningProfile
    Properties:
function_with_signing_profile.json#L79
      "Type": "AWS::Signer::SigningProfile",
      "Properties": {
        "PlatformId": "AWSLambda-SHA384-ECDSA"
      }
    }
  }
function_with_signing_profile.json#L79
      "Type": "AWS::Signer::SigningProfile",
      "Properties": {
        "PlatformId": "AWSLambda-SHA384-ECDSA"
      }
    }
  }
function_with_signing_profile.json#L79
      "Type": "AWS::Signer::SigningProfile",
      "Properties": {
        "PlatformId": "AWSLambda-SHA384-ECDSA"
      }
    }
  }
function_with_signing_profile.json#L4
  { "LogicalResourceId":"MySigningProfile", "ResourceType":"AWS::Signer::SigningProfile" },
  { "LogicalResourceId":"MySignedFunctionCodeSigningConfig", "ResourceType":"AWS::Lambda::CodeSigningConfig" }
template.json#L2315
    "AWS::Signer::SigningProfile": {
      "Type": "AWS::Signer::SigningProfile",
      "Properties": {}
    },
    "AWS::IoTSiteWise::Gateway": {
      "Type": "AWS::IoTSiteWise::Gateway",

Parameters

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.