GithubHelp home page GithubHelp logo

magicmarkh / configappauth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magicmarkh-zz/configureappauthentication

2.0 1.0 0.0 5 KB

Use CyberArk API to configure authentication information for applications.

License: MIT License

PowerShell 100.00%

configappauth's Introduction

Configure CyberArk Application Authentication Using the Credential Provider

Use this script to update your application's authentication information in CyberArk.

Currently Supported

  • configure hash authentication
  • Credential Provider Only

Not supported

  • path authentication
  • IP/Address Hostname authentication
  • OS User authentication

Variable List

Variable Description Example Default Required
PVWAURL Address of your PVWA URL https://pvwa1.yourbusiness.com N/A True
logonCredentail PSCredential of API user $cred = Get-Credentail N/A True
dllPath Path of folder containing DLL's to be hashed "c:\intepub\wwwroot\yourapp\bin" N/A True
cyberArkAppID name of the configured CyberArk application TestApp N/A True
aimInstallationPath path of CyberArk Password Provider install folder "e:\your\install\path" "C:\Program Files (x86)\CyberArk\ApplicationPasswordProvider" False
logfile location of logfile for script "c:\your\log\path\file.log" "c:\tmp\logs\AddDependency\UpdateAppAuthMethods.log" False
deleteOldAppAuthInfo should CyberArk delete older authentication information of the same type $true False False

Usage

Call the script providing minimum information necessary, accepting defaults for non-required variables.

$PVWAURL = "https://pvwa1.yourcompany.com"
$logonCredential = Get-Credential
$dllPath = "c:\intepub\yourapp\bin"
$cyberArkAppID = "yourAppID"
.\updateAppAuth.ps1 -PVWAURL $PVWAURL -logonCredentail $logonCredential -dllPath $dllPath -CyberArkAppID $cyberArkAppID

Call the script with optional items configured

$PVWAURL = "https://pvwa1.yourcompany.com"
$logonCredential = Get-Credential
$dllPath = "c:\intepub\yourapp\bin"
$cyberArkAppID = "yourAppID"
$logfile = "e:\tmp\logs\updateAppAuth.log"
.\updateAppAuth.ps1 -PVWAURL $PVWAURL -logonCredentail $logonCredential -dllPath $dllPath -CyberArkAppID $cyberArkAppID -logfile $logfile -deleteOldAppAuthInfo $true

Author

Mark Hurter - magicmarkh

Special Thanks

Pete Mann - pspete. Your psPAS repo makes automating CyberArk API calls a breeze!

configappauth's People

Contributors

magicmarkh-zz avatar

Stargazers

 avatar Joe Garcia avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.