SigningCertificate

Provides an IAM Signing Certificate resource to upload Signing Certificates.

Example Usage

Using certs on file:

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.SigningCertificate;
import com.pulumi.aws.iam.SigningCertificateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testCert = new SigningCertificate("testCert", SigningCertificateArgs.builder()
.username("some_test_cert")
.certificateBody(Files.readString(Paths.get("self-ca-cert.pem")))
.build());
}
}

Import

IAM Signing Certificates can be imported using the id, e.g.,

$ pulumi import aws:iam/signingCertificate:SigningCertificate certificate IDIDIDIDID:user-name

Properties

Link copied to clipboard
val certificateBody: Output<String>

The contents of the signing certificate in PEM-encoded format.

Link copied to clipboard
val certificateId: Output<String>

The ID for the signing certificate.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>?

The status you want to assign to the certificate. Active means that the certificate can be used for programmatic calls to Amazon Web Services Inactive means that the certificate cannot be used.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userName: Output<String>

The name of the user the signing certificate is for.