Previous Topic: Name the Affiliate

Next Topic: Designate Affiliate Resources

Set the Affiliate Password

The AffiliatePassword defines the encrypted password used by the SAML Affiliate Agent to connect to the producer. The password is used by the consumer to identify itself to the producer.

The administrator at the producer should provide the password, and it must match at the consumer and producer sites.

Important! Do not modify the password directly in the AffiliateConfig.xml file.

To set the AffiliatePassword

  1. Get the unencrypted password from the administrator at the producer.
  2. Use the encryptkey utility to set the password in the AffiliateConfig.xml file.

    Run encryptkey by entering the following command:

    encryptkey -path AffiliateConfig.xml_path -affiliate AffiliateName -affiliatepassword new_password

    AffiliateConfig.xml_path

    Specifies the path, including the file name, of the configuration file. If any value in the path has spaces, the entire path must be enclosed by quotation marks. For example:

    encryptkey -path "C:\Program Files\netegrity\affiliateagent\config\AffiliateConfig.xml"
    -affiliate SampleAffiliate -affiliatepassword mypassword

    AffiliateName

    Specifies the value entered for the AffiliateName attribute. This argument ensures that the password is changed for the correct consumer, especially if the AffiliateConfig.xml file has more than one PerAffiliateInfo section.

    new_password

    Represents the password in clear text.