NAME

Tomba::Keys - API keys management for the Tomba.io API

SYNOPSIS

use Tomba::Keys;

my $tomba = Tomba::Keys->new("ta_xxxxx", "ts_xxxxx");
my $keys = $tomba->ListKeys();

DESCRIPTION

Manage API keys for the Tomba account.

ListKeys

my $data = $tomba->ListKeys();

Retrieve a list of API keys.

See https://docs.tomba.io/api/keys#get-keys

GetKey

my $data = $tomba->GetKey($key_id);

Retrieve details for a specific API key.

See https://docs.tomba.io/api/keys#get-keys-keyid

CreateKey

my $data = $tomba->CreateKey();

Create a new API key. The Free plan can create only one key.

See https://docs.tomba.io/api/keys#post-keys

ResetKey

my $data = $tomba->ResetKey($key_id);

Reset (regenerate) a specific API key.

See https://docs.tomba.io/api/keys#put-keys-keyid

DeleteKey

my $data = $tomba->DeleteKey($key_id);

Delete a specific API key.

See https://docs.tomba.io/api/keys#delete-an-api-keys-keyid

AUTHOR

Mohamed Ben rebia, <b.mohamed@tomba.io>

COPYRIGHT AND LICENSE

Copyright 2023 Mohamed Benrebia <b.mohamed@tomba.io>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0