ironcorelabs/tenant-security-client-php

IronCore Tenant Security Client for PHP

0.4.0 2024-04-16 15:14 UTC

This package is auto-updated.

Last update: 2024-12-16 18:31:52 UTC


README

Latest Stable Version PHP CI License

Tenant Security Client PHP Library

A PHP client for implementing CMK within a vendor's infrastructure. Makes requests through an IronCore Tenant Security Proxy to tenants' KMS/logging infrastructures.

This project is still in very early stages, but will eventually implement everything that is in our Java and Node SDKs.

Getting started

A good place to start is the TenantSecurityClient class, which is what the consumer should always interact with. You can also go check out the examples.

If you're looking for more examples the usage is very similar to that shown in our Java Examples.

Documentation

We generate documentation for this library using PHPDoc and publish it to https://ironcorelabs.github.io/tenant-security-client-php/.

Design Choices

Error handling

Functions which can error may throw TenantSecurityException to indicate that they've failed.

Http and Aes library choices

This library uses CURL for http requests and OpenSSL for AES encryption/decryption.

Copyright (c) 2021 IronCore Labs, Inc. All rights reserved.