मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी35k · #8148

implementing-zero-trust-with-hashicorp-boundary

यह क्या करती है

HashiCorp Boundary एक ऐसा सिस्टम है जो बिना VPN के कंप्यूटिंग संसाधनों तक सुरक्षित पहुँच देता है। यह एक गेटकीपर की तरह काम करता है, जो सिर्फ़ अधिकृत लोगों को खास संसाधनों तक पहुँच देता है।

कब इस्तेमाल करें

  • ✓जब आप VPN की जगह कोई ज़्यादा सुरक्षित तरीका अपनाना चाहते हों।
  • ✓जब सख्त सुरक्षा नियमों वाला एक्सेस सिस्टम सेट करना हो।
  • ✓सर्वर और डेटाबेस तक पहुँचते समय सुरक्षा बढ़ाने के लिए।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-zero-trust-with-hashicorp-boundary/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-zero-trust-with-hashicorp-boundary/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे सर्वर तक सुरक्षित पहुँच के लिए HashiCorp Boundary सेट करो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

Boundary बीच के माध्यम की तरह काम करता है। यह आपकी पहचान की जाँच करता है और देखता है कि क्या आपको किसी खास संसाधन तक पहुँचने की अनुमति है। सब सही होने पर यह आपको संसाधन से जोड़ देता है, बिना आपका पूरा नेटवर्क खोले।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Implementing Zero Trust with HashiCorp Boundary

Overview

HashiCorp Boundary is an identity-aware proxy that provides secure, zero trust access to infrastructure resources without traditional VPNs or direct network access. Boundary operates on a default-deny model -- users start with no access and must be explicitly granted permissions for specific resources. When integrated with HashiCorp Vault, Boundary can dynamically broker credentials, ensuring users never see or manage underlying secrets. This eliminates credential sprawl and enables just-in-time access with automatic credential revocation when sessions end. Boundary supports session recording for audit compliance, OIDC/LDAP authentication, and manages access through a hierarchical scope model of organizations and projects.

When to Use

  • When deploying or configuring implementing zero trust with hashicorp boundary capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • HashiCorp Boundary server (self-hosted or HCP Boundary)
  • HashiCorp Vault (for credential brokering)
  • Identity provider supporting OIDC (Okta, Azure AD, Auth0)
  • PostgreSQL database for Boundary's backend
  • TLS certificates for secure communication
  • Understanding of PKI and X.509 certificate management

Architecture

                    Identity Provider (OIDC)
                           |
                    Authentication
                           |
                  +--------+--------+
                  |   Boundary      |
                  |   Controller    |
                  |  (Control Plane)|
                  +--------+--------+
                           |
              +------------+------------+
              |                         |
     +--------+--------+      +--------+--------+
     | Boundary Worker |      | Boundary Worker |
     | (Data Plane)    |      | (Data Plane)    |
     +--------+--------+      +--------+--------+
              |                         |
     +--------+--------+      +--------+--------+
     |  Target Hosts   |      |  Target Hosts   |
     |  (SSH, RDP,     |      |  (Databases,    |
     |   K8s, HTTP)    |      |   APIs)         |
     +-----------------+      +-----------------+

     Vault (Credential Brokering)
     - Dynamic database credentials
     - SSH certificate signing
     - Credential libraries

Installation and Configuration

Boundary Server Setup

# Install Boundary
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install boundary

# Initialize the database
boundary database init \
  -config=/etc/boundary/controller.hcl

# Start the controller
boundary server -config=/etc/boundary/controller.hcl

Controller Configuration

# /etc/boundary/controller.hcl
controller {
  name = "boundary-controller-1"
  description = "Primary Boundary Controller"
  database {
    url = "postgresql://boundary:password@localhost:5432/boundary?sslmode=require"
  }
  public_cluster_addr = "boundary.example.com"
}

listener "tcp" {
  address = "0.0.0.0:9200"
  purpose = "api"
  tls_cert_file = "/etc/boundary/tls/cert.pem"
  tls_key_file  = "/etc/boundary/tls/key.pem"
}

listener "tcp" {
  address = "0.0.0.0:9201"
  purpose = "cluster"
  tls_cert_file = "/etc/boundary/tls/cert.pem"
  tls_key_file  = "/etc/boundary/tls/key.pem"
}

kms "aead" {
  purpose = "root"
  aead_type = "aes-gcm"
  key = "sP1fnF5Xz85RrXM..."  # Use Vault Transit in production
  key_id = "global_root"
}

kms "aead" {
  purpose = "worker-auth"
  aead_type = "aes-gcm"
  key = "8fZBjCUfN0TzjEG..."
  key_id = "global_worker-auth"
}

kms "aead" {
  purpose = "recovery"
  aead_type = "aes-gcm"
  key = "8fZBjCUfN0TzjEG..."
  key_id = "global_recovery"
}

Worker Configuration

# /etc/boundary/worker.hcl
worker {
  name = "boundary-worker-1"
  description = "Worker in production VPC"
  public_addr = "worker1.example.com"

  controllers = [
    "boundary.example.com:9201"
  ]

  tags {
    type = ["production"]
    region = ["us-east-1"]
  }
}

listener "tcp" {
  address = "0.0.0.0:9202"
  purpose = "proxy"
}

kms "aead" {
  purpose = "worker-auth"

…
अक्सर पूछे जाने वाले सवाल

'Zero Trust' क्या है?

यह एक सुरक्षा सोच है जिसमें माना जाता है कि कोई भी यूज़र या डिवाइस अपने आप भरोसेमंद नहीं है। सख्त जाँच के बाद ही पहुँच दी जाती है।

Boundary VPN से कैसे अलग है?

VPN पूरे नेटवर्क तक बड़ी पहुँच खोल देता है। Boundary सिर्फ़ खास संसाधनों तक, नियंत्रित और अस्थायी तौर पर पहुँच देता है।

Boundary इस्तेमाल करने के लिए क्या और सॉफ़्टवेयर चाहिए?

हाँ, आमतौर पर आपको Boundary सर्वर, PostgreSQL जैसा डेटाबेस और चाहें तो ज़्यादा उन्नत credential मैनेजमेंट के लिए HashiCorp Vault चाहिए होगा।

जानकारी

लेखक का मूल विवरण

Installs and configures HashiCorp Boundary as a default-deny, identity-aware proxy for infrastructure access, including controller/worker setup, Vault-backed credential brokering, session recording, and OIDC/LDAP auth across an org/project scope hierarchy. Use when replacing VPN or direct network access with just-in-time, credential-less Boundary sessions, or standing up Boundary controllers and w

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

GitHub स्टार
35k
रैंकिंग में स्थान
#8148
लाइसेंस
Apache-2.0
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills