Skip to content

Create Public Key

cloudfront_create_public_key R Documentation

Uploads a public key to CloudFront that you can use with signed URLs and signed cookies, or with field-level encryption

Description

Uploads a public key to CloudFront that you can use with signed URLs and signed cookies, or with field-level encryption.

Usage

cloudfront_create_public_key(PublicKeyConfig)

Arguments

PublicKeyConfig

[required] A CloudFront public key configuration.

Value

A list with the following syntax:

list(
  PublicKey = list(
    Id = "string",
    CreatedTime = as.POSIXct(
      "2015-01-01"
    ),
    PublicKeyConfig = list(
      CallerReference = "string",
      Name = "string",
      EncodedKey = "string",
      Comment = "string"
    )
  ),
  Location = "string",
  ETag = "string"
)

Request syntax

svc$create_public_key(
  PublicKeyConfig = list(
    CallerReference = "string",
    Name = "string",
    EncodedKey = "string",
    Comment = "string"
  )
)