Skip to content

Latest commit

 

History

History

Complete example with BYOK encryption, CBR rules and VPE creation

An end-to-end example that does the following:

  • Create a new resource group if one is not passed in.
  • Create Key Protect instance with root key.
  • Create a new ICD PostgreSQL database instance with BYOK encryption.
  • Set 250 max connection for ICD PostgreSQL database instance.
  • Create service credentials for the database instance.
  • Create a Virtual Private Cloud (VPC).
  • Create Context Based Restriction (CBR) to only allow Postgresql to be accessible from the VPC.
  • Create a security group and a VPE for the PostgreSQL instance.