NAME

Twilio::Rest::Api::V2010::Account::SigningKey - The SigningKey resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

for my $signing_key ($client->signing_keys->read({}, 20)) {
  ...
}
my $signing_key = $client->signing_keys($sid)->fetch;
$client->signing_keys($sid)->update(\%options);
$client->signing_keys($sid)->delete;

DESCRIPTION

Create a new signing key

This file holds SigningKeyList, SigningKeyPage, SigningKeyContext and SigningKeyInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

SigningKeyList

Returned by $client->signing_keys. See also Twilio::ListResource.

read

my @records = $client->signing_keys->read(\%options, $limit, $page_size);

Returns the records as a list, fetching as many pages as it needs.

stream

my $stream = $client->signing_keys->stream(\%options, $limit, $page_size);

Takes the same arguments as "read", and returns a Twilio::Stream.

page

my $page = $client->signing_keys->page(\%options, $page_size, $page_token, $page_number);

Fetches one page, and returns a Twilio::Page.

get_page

my $page = $client->signing_keys->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->signing_keys->get_context($sid);

Returns a SigningKeyContext, and makes no request.

SigningKeyPage

A Twilio::Page of SigningKeyInstance objects.

records_key

build_instance

Used by Twilio::Page.

SigningKeyContext

Returned by $client->signing_keys($sid). It makes no request until one of these methods is called.

fetch

my $signing_key = $client->signing_keys($sid)->fetch;

Returns a SigningKeyInstance.

update

my $signing_key = $client->signing_keys($sid)->update(\%options);

Returns a SigningKeyInstance.

The options are:

friendly_name

No description in the specification.

delete

$client->signing_keys($sid)->delete;

Returns true.

SigningKeyInstance

See also Twilio::InstanceResource.

It has fetch, update and delete, which work as they do on the context.

Its fields are:

date_created

A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

friendly_name

No description in the specification.

sid

No description in the specification.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.