secure_agent
Secures an Agent.
Format
emcli secure_agent -agent_name="agent_target_name" -registration_pwd="registration_password" [-host_username ="agent_host_username" -host_pwd="agent_host_password"] [-credential_name ="credential_name"] [-credential_setname ="credential_setname_of_agent"] [ ] incicates that the paramter is optional
Options
-
agent_name
Name of the Agent target.
-
regustration_pwd
Registration password to secure the communication with OMS.
-
host_username
User name of the OS user (on the host) who owns the Agent.
-
host_pwd
Password of the OS user (on the host) who owns the Agent.
-
credential_name
Name of the saved credential.
-
credential_setname
Name of the credential set of the Agent. Example: "HostCreds".
Examples
Example 1
emcli secure_agent -agent_name="agent.example.com:1234" -registration_pwd="test_pwd" -host_username="test_user" -host_pwd="test"
Example 2
emcli secure_agent -agent_name="agent.example.com:1234" -registration_pwd="test_pwd" -credential_setname="HostCreds"