-
-
Save zduymz/f59cfb4928122c01c5f99d8f39604e39 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$uriVaultPost = "http://$strVaultIP/PasswordVault/WebServices/PIMServices.svc/Account" | |
$payloadVault = @{ | |
account = @{ | |
safe = "MS SQL Safe"; (this value can be hardcoded) | |
platformID = "Test-MYSQL"; (this value can be hardcoded) | |
address = "4.4.4.2"; (this is the HOST information read from tnsnames.ora) | |
DSN = "dsn_test"; (can be hardcoded) | |
Database = "dsn_test"; (this is the description value in tnsnames.ora) | |
username = "SYS"; (this is the SID/Service_name read from tnsnames.ora) | |
password = "xxxx"; (this should be combination of Servicename/sid_Database_Address from tnsnames.ora) | |
disableAutoMgmt = "true"; (this can be hardcoded) | |
disableAutoMgmtReason = "Testing"; (this can be hardcoded) | |
accountName = "SYS_Database_4.4.4.2" ( Should be in the format of Servicename/sid_Database_Address | |
properties = @{ | |
Port = "1521" (this should be read from tnsnames.ora) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment