Skip to content

ibm-cloud-architecture/codepattern-key_encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Encrypt content in IBM Cloud Object Storage With Key Protect

Architecture Goals

The goals of this code pattern are to

  1. Given a service IBM Cloud Object Storage that stores data at rest, integrate it with Key Protect and assign a key for encryption
  2. Demonstrate the architecture using IBM Key Protext to manage your BYOK when encrypting data at rest
  3. Demonastrate the IBM Cloud terraform provider-based scripts used to deploy and configure the architecture

Description

This code pattern provides the necessary scripts to provision a service (IBM COS and a bucket) to store data at rest and a key Protext instance with access control policies for ICOS Bucket to read from Key protextr. Then a Key is created and used by the ICOS bucket.

Serviced-scenario


Process

This terraform script:

  1. Gets an IAM Auth Token with iam_auth_token.tf
  2. Creates a Key Protect resource
  3. Creates a root certificate for the Key Protect instance with key_protect_certificate.tf
  4. Creates a Cloud Object Storage resource
  5. Creates an IAM Policy to let COS read from Key Protect
  6. Creates a COS Bucket using the KMS Root key
  7. Deletes the root certificate with key_protect_certificate.tf when the Key Protect resource is destroyed

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages