
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@aws-sdk/client-acm-pca-browser
Advanced tools
Browser SDK for AWS Certificate Manager Private Certificate Authority
This is the ACM Private CA API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types involved in creating and managing private certificate authorities (CA) for your organization.
The documentation for each action shows the Query API request parameters and the XML response. Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see AWS SDKs.
Each ACM Private CA API action has a throttling limit which determines the number of times the action can be called per second. For more information, see API Rate Limits in ACM Private CA in the ACM Private CA user guide.
To install the this package using NPM, simply type the following into a terminal window:
npm install @aws-sdk/client-acm-pca-browser
The AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(ACMPCAClient) and the commands you need, for example CreateCertificateAuthorityCommand:
//JavaScript
const {
ACMPCAClient
} = require("@aws-sdk/client-acm-pca-browser/ACMPCAClient");
const {
CreateCertificateAuthorityCommand
} = require("@aws-sdk/client-acm-pca-browser/commands/CreateCertificateAuthorityCommand");
//TypeScript
import { ACMPCAClient } from "@aws-sdk/client-acm-pca-browser/ACMPCAClient";
import { CreateCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca-browser/commands/CreateCertificateAuthorityCommand";
To send a request, you:
send operation on client with command object as input.destroy() to close open connections.const aCMPCA = new ACMPCAClient({region: 'region'});
//clients can be shared by different commands
const params = {
CertificateAuthorityConfiguration: { /**an object specifying CertificateAuthorityConfiguration*/ },
CertificateAuthorityType: /**a string value*/,
};
const createCertificateAuthorityCommand = new CreateCertificateAuthorityCommand(params);
aCMPCA.send(createCertificateAuthorityCommand).then(data => {
// do something
}).catch(error => {
// error handling
})
In addition to using promises, there are 2 other ways to send a request:
// async/await
try {
const data = await aCMPCA.send(createCertificateAuthorityCommand);
// do something
} catch (error) {
// error handling
}
// callback
aCMPCA.send(createCertificateAuthorityCommand, (err, data) => {
//do something
});
The SDK can also send requests using the simplified callback style from version 2 of the SDK.
import * as AWS from "@aws-sdk/@aws-sdk/client-acm-pca-browser/ACMPCA";
const aCMPCA = new AWS.ACMPCA({ region: "region" });
aCMPCA.createCertificateAuthority(params, (err, data) => {
//do something
});
When the service returns an exception, the error will include the exception information, as well as response metadata (e.g. request id).
try {
const data = await aCMPCA.send(createCertificateAuthorityCommand);
// do something
} catch (error) {
const metadata = error.$metadata;
console.log(
`requestId: ${metadata.requestId}
cfId: ${metadata.cfId}
extendedRequestId: ${metadata.extendedRequestId}`
);
/*
The keys within exceptions are also parsed. You can access them by specifying exception names:
if(error.name === 'SomeServiceException') {
const value = error.specialKeyInException;
}
*/
}
Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.
aws-sdk-jsThis client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/@aws-sdk/client-acm-pca-browser' package is updated. To contribute to SDK you can checkout our code generator package.
This SDK is distributed under the Apache License, Version 2.0, see LICENSE for more information.
FAQs
Browser SDK for AWS Certificate Manager Private Certificate Authority
The npm package @aws-sdk/client-acm-pca-browser receives a total of 0 weekly downloads. As such, @aws-sdk/client-acm-pca-browser popularity was classified as not popular.
We found that @aws-sdk/client-acm-pca-browser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.