Skip to content

Update Public Key

cloudfront_update_public_key R Documentation

Update public key information

Description

Update public key information. Note that the only value you can change is the comment.

Usage

cloudfront_update_public_key(PublicKeyConfig, Id, IfMatch)

Arguments

PublicKeyConfig

[required] A public key configuration.

Id

[required] The identifier of the public key that you are updating.

IfMatch

The value of the ETag header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL.

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"
    )
  ),
  ETag = "string"
)

Request syntax

svc$update_public_key(
  PublicKeyConfig = list(
    CallerReference = "string",
    Name = "string",
    EncodedKey = "string",
    Comment = "string"
  ),
  Id = "string",
  IfMatch = "string"
)