Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-13812

How to treat special character '$' in Amster/Rest

    XMLWordPrintable

    Details

    • Rank:
      1|hzwzwf:

      Description

      Problem Description:

      Customer is trying to run an import-config command to import an OAuth2Client. Customer have templatized all their passwords and so also the client_secret of this client.
      The client secret of this OAuth2Client is Pa$$w0rd111.

      The load takes places properly via Amster. The import, however, poses a problem.

      Environment:

      Amster 5.1.1

       

      Solution:

      since $ is reserved it has be treated as the following

      1. after doing the following in the secret amster file cat secrets.amster oidc_client_api_portal='Pa\\$
        $w0rd111', the import went through
      2. the single ' and "
        " helped pass the import with $

       

      next action:

      it will be great in our amster document in how to treat special character as such

        Attachments

          Activity

            People

            cristina.herraz Cristina Herraz [X] (Inactive)
            jobby.thomas Jobby Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: