PHP ActiveX
AWS KMS Examples for PHP ActiveX
- AWS KMS API Guide
- AWS KMS: Sign a PDF with SHA-256
- AWS KMS: Sign a SOAP Body with XMLDSig and SHA-256
- AWS KMS: Create an Attached CAdES-BES Signature
- AWS KMS: List All Keys with Pagination
- AWS KMS: Import a PFX Private Key into a New Signing Key
- AWS KMS: Import a PFX Key into an Existing External Signing Key
Encryption and data keys
- AWS KMS: Encrypt Binary or UTF-8 Data with an Encryption Context
- AWS KMS: Decrypt Binary Data with the Original Encryption Context
- AWS KMS: ReEncrypt Between Keys and Encryption Contexts
- AWS KMS: Encrypt a File with a KMS Data Key and AES-GCM
- AWS KMS: Authenticate and Decrypt a KMS AES-GCM Envelope
- AWS KMS: Generate an Encrypted Data Key without Plaintext
- AWS KMS: Unwrap an Encrypted AES-256 Data Key
Inventory, creation, aliases, and metadata
- AWS KMS: Describe a KMS Key
- AWS KMS: List All Aliases and Their Target Keys
- AWS KMS: Create a Symmetric Encryption Key
- AWS KMS: Create an RSA Signing Key
- AWS KMS: Create an HMAC Key
- AWS KMS: Create an External-Origin Signing Key for Import
- AWS KMS: Create a Key Alias
- AWS KMS: Retarget a Key Alias
- AWS KMS: Delete a Key Alias
- AWS KMS: List All Key Tags
- AWS KMS: Add or Update a Key Tag
- AWS KMS: Remove a Key Tag
- AWS KMS: Update a Key Description
- AWS KMS: Inspect Key Last Usage and Tracking Coverage
Signatures, MACs, and key agreement
- AWS KMS: Sign and Verify a Raw Message
- AWS KMS: Sign and Verify a SHA-256 Digest
- AWS KMS: Get a Public Key and Verify an RSA Signature Locally
- AWS KMS: Get a Public Key and Verify an ECDSA Signature Locally
- AWS KMS: Sign and Verify with ML-DSA
- AWS KMS: Generate and Verify an HMAC
- AWS KMS: Derive an ECDH Secret and Apply HKDF-SHA256
- AWS KMS: Encapsulate and Decapsulate an ML-KEM Shared Secret
Policies and grants
- AWS KMS: List Key Policy Names
- AWS KMS: Retrieve and Save the Default Key Policy
- AWS KMS: Apply a Reviewed Key Policy with Lockout Protection
- AWS KMS: Create a Context-Constrained Decrypt Grant
- AWS KMS: Use a New Grant Token for Decrypt
- AWS KMS: List All Grants on a Key
- AWS KMS: List Grants a Principal Can Retire
- AWS KMS: Revoke a Key Grant
- AWS KMS: Retire a Key Grant
Lifecycle, rotation, multi-Region keys, and imports
- AWS KMS: Create a Multi-Region Symmetric Primary Key
- AWS KMS: Enable a Disabled Key
- AWS KMS: Disable an Enabled Key
- AWS KMS: Cancel Scheduled Key Deletion
- AWS KMS: Schedule Single-Region Key Deletion with a 30-Day Wait
- AWS KMS: Enable Automatic Rotation with a Custom Period
- AWS KMS: Disable Automatic Key Rotation
- AWS KMS: Inspect Automatic and On-Demand Rotation Status
- AWS KMS: List All Key Materials and Rotation States
- AWS KMS: Request On-Demand Rotation of a KMS-Generated Key
- AWS KMS: Replicate a Multi-Region Primary Key
- AWS KMS: Inspect a Multi-Region Primary and Its Replicas
- AWS KMS: Promote an Existing Replica to Multi-Region Primary
- AWS KMS: Import a PFX Signing Key with a 30-Day Expiration
- AWS KMS: Reimport the Same PFX Key Material with a New Expiration
- AWS KMS: Delete Explicitly Selected Imported Key Material
- AWS KMS: Import New Symmetric Key Material for Rotation
- AWS KMS: Import Matching Symmetric Material into a Replica
- AWS KMS: Rotate an Imported Symmetric Key after Material Preparation