Skip to content

This is a tutorial on how to secure secrets of OpenShift applications by CyberArk Dynamic Access Provider

Notifications You must be signed in to change notification settings

QuincyChengAtWork/DAP-OpenShift-Lab-2020

Repository files navigation

DAP OpenShift Lab 2020

This is a tutorial on how to secure secrets of OpenShift applications by CyberArk Dynamic Access Provider (DAP).
We will cover deploying DAP follower instances manually, and by follower seed fetcher. Secretless Broker & inital container will also be covered in this tutorial.

Extra tech challenges will be included in each sections for quick learners.

Overview

OKD is used as the OpenShift platform to host the demo app The application will connect to a MySQL database to retreive data, and during authenication, secrets will be used by the application.

Dynamic Access Provider (DAP) is used in this tutorial to secure & manage the secrets.

Architecture

Architecture

Technical Procedure

Prerequisite

  • Access to Smartfile
  • FTP client
  • 7zip or Winzip installed on your workstation
  • VMware Workstation 12 or greater installed on your workstation
  • CyberArk CorePAS installed on VMWare workstation, CGD-2020-0101-GA prefered
  • Sufficient disk space for additional 2 virtual machines (5.6GB for compressed VM and/or 24GB for extracted VM)
  1. Setup CyberArk CorePAS based on CGD
  2. Setup 2 Extra VM (DAP Master & OKD)
  3. Onboard MySQL Account to CorePAS
  4. Setup DAP Master
  5. Configure Vault Synchronizer
  1. Login to OKD
  2. Create projects
  3. Push image
  4. Deploy app
  5. Create secret & route
  1. Create project
  2. Create serviceaccount
  3. Push image
  4. Deploy follower
  5. Copy seed and config follower
  6. Verify status
  1. Clean-up
  2. Load Policy
  3. Initialize CA
  4. Enable authenicator
  5. Create role
  6. Load variables
  7. Push images
  8. Add Master certificate
  9. Deploy followers
  1. Push image
  2. Load policy for app
  3. Prepare and load cert
  4. Re-deploy app
  1. Push image
  2. Prepare and apply config
  3. Re-deploy app

Reference

About

This is a tutorial on how to secure secrets of OpenShift applications by CyberArk Dynamic Access Provider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages