ImportCertificate
Uploads the specified certificate.
Request Syntax
{
"CertificateIdentifier": "string
",
"CertificatePem": "string
",
"CertificateWallet": blob
,
"Tags": [
{
"Key": "string
",
"ResourceArn": "string
",
"Value": "string
"
}
]
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- CertificateIdentifier
-
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
Type: String
Required: Yes
- CertificatePem
-
The contents of a
.pem
file, which contains an X.509 certificate.Type: String
Required: No
- CertificateWallet
-
The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a
.sso
file using thefileb://
prefix. You can't provide the certificate inline.Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
Type: Base64-encoded binary data object
Required: No
- Tags
-
The tags associated with the certificate.
Type: Array of Tag objects
Required: No
Response Syntax
{
"Certificate": {
"CertificateArn": "string",
"CertificateCreationDate": number,
"CertificateIdentifier": "string",
"CertificateOwner": "string",
"CertificatePem": "string",
"CertificateWallet": blob,
"KeyLength": number,
"SigningAlgorithm": "string",
"ValidFromDate": number,
"ValidToDate": number
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- Certificate
-
The certificate to be uploaded.
Type: Certificate object
Errors
For information about the errors that are common to all actions, see Common Errors.
- InvalidCertificateFault
-
The certificate was not valid.
HTTP Status Code: 400
- ResourceAlreadyExistsFault
-
The resource you are attempting to create already exists.
HTTP Status Code: 400
- ResourceQuotaExceededFault
-
The quota for this resource quota has been exceeded.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: