Featured image of post [PowerShell] 100. Get-Credential과 PSCredential 객체

[PowerShell] 100. Get-Credential과 PSCredential 객체

Get-Credential로 사용자 이름·비밀번호를 SecureString으로 안전하게 담는 PSCredential 객체를 만드는 법과 -Credential 매개변수를 지원하는 cmdlet과의 관계, 자격 증명을 평문으로 스크립트에 남기지 말아야 하는 이유를 정리한 Part 14 시작 챕터다.

Featured image of post [PowerShell] 101. Get-Acl/Set-Acl — 접근 제어 목록

[PowerShell] 101. Get-Acl/Set-Acl — 접근 제어 목록

Get-Acl로 파일·레지스트리 키의 보안 설명자(security descriptor)를 조회하는 법과 Set-Acl로 권한을 복사·수정하는 전형적인 흐름, Access 속성으로 개별 권한 항목을 다루는 법을 정리한 챕터다.

Featured image of post [PowerShell] 104. Microsoft.PowerShell.SecretManagement

[PowerShell] 104. Microsoft.PowerShell.SecretManagement

SecretManagement 모듈이 여러 비밀 저장소(Vault)를 하나의 Get-Secret/Set-Secret 인터페이스로 추상화하는 원리와 SecretStore 확장 모듈로 로컬 저장소를 쓰는 법, 100장 Get-Credential의 한계를 이 모듈이 어떻게 보완하는지 정리한 챕터다.

Featured image of post [PowerShell] 105. Just Enough Administration(JEA) 개요

[PowerShell] 105. Just Enough Administration(JEA) 개요

JEA가 최소 권한 원칙으로 관리자 권한을 위임하는 방식과 역할 기능(Role Capability)·세션 구성(Session Configuration)의 관계, 103장 NoLanguage 모드가 JEA 세션을 어떻게 뒷받침하는지 정리한 Part 14 마지막 챕터다.